-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
Description
Sites that use protocol-relative URLs for external resources (ex: <img src="//example.org/some_image.jpg"/>) expect the resource to be loaded using the same protocol as the site. However, when pulling that URL into a feed reader, the resource is loaded based on the protocol used by the reader to show the content. This mismatch can create issues, for example if the reader caches the content to disk and displays it via a file:// URL.
For now, I've been using the following pattern as a workaround for specific cases:
"modify": [
{
"type": "replace",
"search": "src=\"\/\/",
"replace": "src=\"https:\/\/"
}
]
These URLs should probably be automatically converted to protocol-absolute links so these sorts of workarounds aren't needed.