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

exception filters created does not work #3347

Closed
9 tasks done
ghajini opened this issue Aug 17, 2024 · 2 comments
Closed
9 tasks done

exception filters created does not work #3347

ghajini opened this issue Aug 17, 2024 · 2 comments
Labels
bug Something isn't working fixed issue has been addressed

Comments

@ghajini
Copy link

ghajini commented Aug 17, 2024

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT a YouTube, Facebook or Twitch report. These sites MUST be reported by clicking their respective links.
  • This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • uBO uses default lists and settings.
  • using a new, unmodified browser profile.

Description

iam creating an exception filters with website from ubo logger but it is still blocked

A specific URL where the issue occurs.

https://veev.to/d/4vz566d3awg0

Steps to Reproduce

  • add veev.to#@#+js()
  • go to https://veev.to/d/4vz566d3awg0
  • filter content a/c to 3p => xhr
  • allow request coninciding with regex rule blocking /^https?:\/\/[a-z]{8,15}\.xyz\/$/$xhr,3p,method=head,header=x-traceid,to=xyz (as these ad xhr's are random)
  • observe requests are still blocked

Expected behavior

should honor exception filters if rule is not $important modifier

Actual behavior

xhr requests are still blocked

opera_2O3t8Mo7WD.mp4

uBO version

1.59.1b2

Browser name and version

opera stable

Operating System and version

win 10

@ghajini
Copy link
Author

ghajini commented Aug 17, 2024

try allowing specific request such as
image

& not regex ^https?:\/\/[a-z]{8,15}\.xyz\/$/$xhr,3p,method=head,header=x-traceid,to=xyz

@gorhill
Copy link
Member

gorhill commented Aug 17, 2024

Sorry, first time I understood exception from logger's exception button.

I can reproduce when using a plain exception in My filters. Issue is that the filtering engine only looks up exceptions filters using header=, not plain ones.

For example, adding ,header=x-traceid to the created exception filter makes the exception work.

@MasterKia MasterKia added the bug Something isn't working label Aug 17, 2024
@MasterKia MasterKia added the fixed issue has been addressed label Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed issue has been addressed
Projects
None yet
Development

No branches or pull requests

3 participants