This repository has been archived by the owner on May 10, 2024. It is now read-only.
This repository has been archived by the owner on May 10, 2024. It is now read-only.
Auto-upgrade passive mixed content using a content blocker #8664
Closed
Description
Description:
Security review https://github.com/brave/reviews/issues/1488
iOS/WebKit only auto-upgrades active mixed content such as scripts, but we should also add a content blocker to auto-upgrade passive content such as images as per https://www.w3.org/TR/mixed-content/#upgrade-algorithm
The content blocker rule in question:
{
"trigger": {
"url-filter": "http://.*",
"if-top-url": ["https://.*"],
"resource-type": [
"image", "media"
]
},
"action": {
"type": "make-https"
}
}