Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix and test for bug #1457 #1481

Merged
merged 4 commits into from
May 22, 2024
Merged

Fix and test for bug #1457 #1481

merged 4 commits into from
May 22, 2024

Conversation

eoghanmurray
Copy link
Contributor

@eoghanmurray eoghanmurray commented May 20, 2024

Fixes Uncaught SyntaxError: Regular expression too large in #1457

  • see test case which is extracted from a real world css file; the selector regex was able to traverse the curly brace as when looking for quotes, it wasn't taking into account that the start quote could be escaped

…ression too large)

 - see test case which is extracted from a real world css file; the selector regex was able to traverse the curly brace as when looking for quotes, it wasn't taking into account that the start quote could be escaped
Copy link

changeset-bot bot commented May 20, 2024

🦋 Changeset detected

Latest commit: de2363a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
rrweb-snapshot Patch
rrweb Patch
rrdom Patch
rrdom-nodejs Patch
rrweb-player Patch
@rrweb/types Patch
@rrweb/web-extension Patch
rrvideo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

… a url - need to consume quotes.

Thanks dave.kindel@pendo.io for reporting and isolating this case
@Juice10 Juice10 merged commit 46f1b25 into rrweb-io:master May 22, 2024
6 checks passed
@eoghanmurray eoghanmurray mentioned this pull request Jun 4, 2024
billyvg added a commit to getsentry/rrweb that referenced this pull request Sep 6, 2024
Merges the following commits:

* [Ensure there is separation of
timestamps](rrweb-io#1455)
* [perf(snapshot): avoid recreate element a every
time](rrweb-io#1387)
* [Fix that blob urls persist on the shared anchor element and can't be
later modified](rrweb-io#1467)
* [yarn format - prettier improvements & add
.editorconfig](rrweb-io#1471)
* [Fixup for background-clip
replacement](rrweb-io#1476)
* [Fix and test for bug](rrweb-io#1481)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants