Closed mikoSTAR closed 1 year ago
\0
is a valid escape sequence for U+0000 within string literals, template literals, and regular expression literals. Which JS engine are you seeing this issue in?
Hey thank you for quick reply. Issue appears on this kind of devices and browsers.
browser
Mobile Safari UI/WKWebView 13.3.1
iPhone
os
iOS 13.3.1
or
browser
Mobile Safari UI/WKWebView 12.4.4
device
iPhone
iOS 12.4.4
I was not able to fine exact JS engine but had a research and it looks like WKWebView stands for https://developer.apple.com/documentation/webkit/wkwebview
so it looks like it is some iOS app which use that WKWebView browser to display a content and that browser reacts different than standard Safari browser.
Let me know if it is useful
Is this still an issue in practice? This is clearly a browser bug which hopefully has been resolved by now. I’ll close this issue for now but please post if you have any updates.
Hi,
We use razzle and react for our project and it seems one of our libraries use punycode.js as it's dependency. We track our errors using Sentry.
We came across this error:
on device and browser:
which leads us to this code:
seems like this line is causing a problem:
var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars
any clues on that?
cheers,