Audit codebase to make sure all relative protocol URLs start with "HTTPS"
See original GitHub issueWe have been using and recommending protocol relative URLs like so:
<script src="//code.jquery.com/jquery-2.2.3.min.js"></script>
This was made popular by: https://www.paulirish.com/2010/the-protocol-relative-url/
But, I believe, this something we should be NOT be doing now on, since the author have long since updated their advice.
More reference: https://jeremywagner.me/blog/stop-using-the-protocol-relative-url/
Hence we need to audit our code-base for such uses, list them here and update the links after confirmation.
Original seen in https://github.com/freeCodeCamp/freeCodeCamp/pull/16488#issuecomment-358730193
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
The protocol-relative URL - Paul Irish
Update 2014.12.17: Now that SSL is encouraged for everyone and doesn't have performance concerns, this technique is now an anti-pattern.
Read more >The system loads page resources using protocol-relative ...
In our article, we will discuss what kind of URL to use and what to do if the system loads pages only using...
Read more >Are there cases where Protocol-Relative URLs is preferred ...
It has been widely claimed that Protocol-relative URLs should be completely abandoned in favor of HTTPS; one of my recent pull requests was ......
Read more >Loads page resources using protocol relative URIs - Sitebulb
This means that the URL in question loads in resources using protocol relative URLs, which can be requested over HTTP and as such...
Read more >Http-https transitions and relative URLs - Ned Batchelder
When building a web site with HTTPS pages, one of the annoying tasks is to ensure that those pages make no references to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m for making cdn links explicitly https.
I have made a PR request to complete this issue.