# プロトコル非依存のCDN URLは問題がある

**URL:** <https://meta.discourse.org/t/protocol-agnostic-cdn-urls-are-problematic/113301>\
**Category:** Feature\
**Created:** [2019 年 2 月 19 日午後 1:51 UTC](https://meta.discourse.org/t/protocol-agnostic-cdn-urls-are-problematic/113301 "2019-02-19T13:51:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)\
**Post date:** [2019 年 4 月 2 日午後 1:58 UTC](https://meta.discourse.org/t/protocol-agnostic-cdn-urls-are-problematic/113301/4 "2019-04-02T13:58:36Z")

</div>

Besides, CSP specification mandates the protocol [scheme](https://tools.ietf.org/html/rfc3986#section-3.1) to start with a letter, which rules out the `//`; or to use no protocol at all (just the hostname, or [`none`, or `self`, etc.](https://www.w3.org/TR/CSP3/#framework-directive-source-list)) – 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.

---

_[View the full topic](https://meta.discourse.org/t/protocol-agnostic-cdn-urls-are-problematic/113301)._
