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

Scriptlet arguments starting with a quote are treated as invalid #398

Open
antonok-edm opened this issue Oct 26, 2024 · 0 comments
Open

Comments

@antonok-edm
Copy link
Collaborator

The following rule is treated as invalid by adblock-rust because it looks like the first argument is quoted, but there is no matching end quote:

example.com##+js(scriptlet-name, "test"!==undefined, 1)

However, uBO considers it valid and parses the arguments as "test"!==undefined and 1.

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

No branches or pull requests

1 participant