We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This malformed href= is not correctly parsed:
<a href=/1233fffdc0d1537bb0046c316ca0385c967a906f>
On Glype it is parsed correctly using this regex:
#(?><[A-Z0-9]{1,15})(?>\s+[^>\s]+)*?\s*(?>(href|src|background|poster)\s*=(?!\\\\)\s*)(?>([\\\'"])?)((?(2)(?(?<=")[^"]{1,2048}|[^\\\']{1,2048})|[^ >]{1,2048}))(?(2)\\2|)#i
Tested here: http://www.phpliveregex.com/p/j63
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This malformed href= is not correctly parsed:
<a href=/1233fffdc0d1537bb0046c316ca0385c967a906f>
On Glype it is parsed correctly using this regex:
#(?><[A-Z0-9]{1,15})(?>\s+[^>\s]+)*?\s*(?>(href|src|background|poster)\s*=(?!\\\\)\s*)(?>([\\\'"])?)((?(2)(?(?<=")[^"]{1,2048}|[^\\\']{1,2048})|[^ >]{1,2048}))(?(2)\\2|)#i
Tested here: http://www.phpliveregex.com/p/j63
The text was updated successfully, but these errors were encountered: