[Webkit-unassigned] [Bug 281987] New: URL displayed on consecutive redirections filtered (blocked) by a content blocker rules
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 23 10:16:47 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=281987
Bug ID: 281987
Summary: URL displayed on consecutive redirections filtered
(blocked) by a content blocker rules
Product: WebKit
Version: Safari 18
Hardware: iPhone / iPad
OS: iOS 18
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: emmanuel.sellier at verifrom.com
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"
}
}
]
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241023/707ffb32/attachment.htm>
More information about the webkit-unassigned
mailing list