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

fix: detect redirected requests from DNR rules #1845

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Conversation

smalluban
Copy link
Collaborator

@smalluban smalluban commented Aug 27, 2024

Fixes #1712

This PR adds feedback for redirect DNR rules for Chromium-based browsers.

After the investigation and initial implementation using engines, I found a simpler and clearer solution.

The only platform left is Safari. The initial idea still works (I have proven it to myself), but I think it is not worth implementing it just for Safari.

The idea is to serve full adblocker engines (with network filters) and for Safari when we gather the stats, we could run again through all of the engines to check if there are redirect rules. If so, we likely have a DNR rule for that. Then we can assume that this request was redirected (but this is at most, an assumption).

@smalluban smalluban requested a review from chrmod August 27, 2024 12:29
@smalluban smalluban merged commit 358dfa8 into main Aug 27, 2024
2 checks passed
@smalluban smalluban deleted the fix-dnr-redirects branch August 27, 2024 14:34
@smalluban smalluban mentioned this pull request Sep 4, 2024
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

Successfully merging this pull request may close these issues.

Panel ignores redirects
2 participants