Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

lan-block.txt - syntax error in line 25 #27354

Closed
9 of 10 tasks
tawissus opened this issue Feb 28, 2025 · 2 comments
Closed
9 of 10 tasks

lan-block.txt - syntax error in line 25 #27354

tawissus opened this issue Feb 28, 2025 · 2 comments

Comments

@tawissus
Copy link

Prerequisites

  • This is NOT a YouTube, Facebook, Twitch or a shortener/hosting site report. These sites MUST be reported by clicking their respective links.
  • I read and understand the policy about what is a valid filter issue.
  • I verified that this issue is not a duplicate. (Use this button to find out.). Comment in the old issue threads even when they are closed or even if you have a different problem.
  • I did not remove any of the default filter lists, or I have verified that the issue was not caused by removing any of the default lists.
  • I did not enable additional filter lists, or I have verified that the issue still occurs without enabling additional filter lists.
  • I do not have custom filters/rules, or I have verified that the issue still occurs without custom filters/rules.
  • I have verified that the web browser's built-in content blocker/tracking protection, network wide/DNS blocking, or my VPN is not causing the issue.
  • I have turned off all other extensions and the issue still persists. (exception "Firefox Multi-Account Containers").
  • If this is about a breakage or detection, I have verified that it is caused by uBlock Origin and isn't a site or browser issue.
  • I did not answer truthfully to ALL the above checkboxes.

URL(s) where the issue occurs.

-

Description

The filter list has a syntax error in line 25. uBlock origin marks the line accordingly. What should the correct filter look like?

Line 25:
/^\w+://[f(?:[cd][0-9a-f]|e[89a-f])[0-9a-f]:[0-9a-f:]+][:/]/$3p,domain=~localhost|127.0.0.1|[::1]|0.0.0.0|[::]|~local

Image

Other extensions used

Screenshot(s)

No response

Configuration

@gwarser
Copy link
Contributor

gwarser commented Feb 28, 2025

It's orange, not red. It just means the regex is not tokenized - it may slightly reduce performance - but there were no issues in benchmark uBlockOrigin/uBlock-issues#1070 (comment)

@gwarser gwarser closed this as not planned Won't fix, can't repro, duplicate, stale Feb 28, 2025
@gwarser
Copy link
Contributor

gwarser commented Feb 28, 2025

gorhill/uBlock@426395a

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants