-
Notifications
You must be signed in to change notification settings - Fork 628
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
"invalid group specifier name" error in Safari after upgrade to 1.0.12 #259
Comments
The following HTML will demonstrate the issue: <!DOCTYPE html>
<html>
<head>
<script src="https://rawgit.com/leizongmin/js-xss/master/dist/xss.js"></script>
</head>
</html> Steps to reproduce:
I hope this helps. |
+1, same issue on safari |
1 similar comment
+1, same issue on safari |
I have the same issue with graphql/graphql-playground package during running the tests |
Hi all, I am very sorry to heard that. This problem was introduced in this MR #257 . I have just revert this commit and released a new version |
Thanks for the quick response @leizongmin. I can confirm that Much appreciated. 🎉 |
这个改动成功让我们项目首页白屏了 差点要记大过 😭 |
We use
xss
in one of our front-end applications (bundled using webpack).After recently upgrading from
v1.0.11
tov1.0.12
, our production error monitoring service started reporting occurrences of the following error:SyntaxError: Invalid regular expression: invalid group specifier name
On further investigation we found that it was only impacting Safari users. Downgrading back to
v1.0.11
resolves the issue.We hope to follow up this issue with an example that demonstrates the error; but in the meantime we wanted to make you aware of the issue in case you may already have an idea which of the four
fix:
commits that went intov1.0.12
could be causing this.The text was updated successfully, but these errors were encountered: