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

Logger doesn't show origin of filters with unescaped regexes #1246

Closed
anewuser opened this issue Jan 17, 2016 · 0 comments
Closed

Logger doesn't show origin of filters with unescaped regexes #1246

anewuser opened this issue Jan 17, 2016 · 0 comments

Comments

@anewuser
Copy link
Contributor

  1. Add this filter to a clean install of uBlock Origin 1.5.x on Firefox 43.0.3 or Chrome 47:

    /^https?://[^/]+/[a-z0-9]{15,}(?hope=.*)?$/$script

  2. Open http://www.stumbleupon.com/

Result: the regex is fixed on the fly and processed correctly by uBlock₀. The logger reports the corrected version of the filter:

/^https?:\/\/[^/]+\/[a-z0-9]{15,}(\?hope=.*)?$/$script

But if you click on it, it fails to find the original "broken" regex and is therefore unable to tell you what list it came from:

Screenshot

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