WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
281987
URL displayed on consecutive redirections filtered (blocked) by a content blocker rules
https://bugs.webkit.org/show_bug.cgi?id=281987
Summary
URL displayed on consecutive redirections filtered (blocked) by a content blo...
Emmanuel SELLIER
Reported
2024-10-23 10:16:47 PDT
When you have a URL1 redirecting (301) to URL2, and if URL2 is blocked, the URL displayed in search/url field is still URL1 but not URL2. In our case, the user can "temporarily disable" (we append a rule with a "ignore-previous-rules" action) the blocking rule by reporting (sharing) the blocked URL. But as URL2 is never displayed, we cannot unblock this URL2. In our test URL1 and URL2 are blocked. When the user unblocks (sharing the url to our app) URL1, we get the info and append the "unblocking" rule. But when the user refreshes the page in Safari, then URL1 redirects to URL2. URL2 is blocked, but the displayed URL is still URL1. It's not possible to test this using MiniBrowser as the blocked URLs href is not displayed in MiniBrowser url field. Rules for testing : [ { "trigger": { "url-filter": "^https?://[^/]+/8Xwdg", "if-domain": ["s.et4.de"] }, "action": { "type": "block" } }, { "trigger": { "url-filter": "^https?://[^/]+/8Xwdg", "if-domain": ["s.et4.de"] }, "action": { "type": "ignore-previous-rules" } }, { "trigger": { "url-filter": "^https?://[^/]+/my-site-1", "if-domain": [ "authorangemail471.wixsite.com" ] }, "action": { "type": "block" } } ]
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-10-30 10:17:14 PDT
<
rdar://problem/138926816
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug