Protocol agnostic CDN URLs are problematic

Besides, CSP specification mandates the protocol scheme to start with a letter, which rules out the //; or to use no protocol at all (just the hostname, or none, or self, etc.) – which also works, but indeed the mix of HTTPS and HTTP already causes browsers (at least Firefox) to turn the green lock into a grey lock with an orange warning sign. No very user friendly.

2 Likes