Skip to content

Fix and test for bug #1457#1481

Merged
Juice10 merged 4 commits intorrweb-io:masterfrom
eoghanmurray:fix-1457
May 22, 2024
Merged

Fix and test for bug #1457#1481
Juice10 merged 4 commits intorrweb-io:masterfrom
eoghanmurray:fix-1457

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
@changeset-bot
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
@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