-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General proposal for the developer guidelines: use protocol independent urls "//" #1212
Comments
The strangle thing is that not new, it appear in RFC 3986 of 1995: http://tools.ietf.org/html/rfc3986#section-4.2 |
Yes, I know this RFC very well. The http://stackoverflow.com/a/550164 has some thoughts. |
Seems like a relatively sound proposal, assuming ws:// wont be affected. |
@johnyma22 ty for your kind words. Currently I am trying to download the yui from yahoo and supply a (really working) proof of concept. I am convinced that it will work. https://yui.yahoo..... does not work, the Yahoo does not deliver its content via https://..I removed already the (somehow) misleading information on #1202 (sorry for that) |
I can now officially confirm, that "it" works. "it" means: when copying and unzipping http://yuilibrary.com/downloads/yui2/yui_2.9.0.zip to a server which delivers the stuff via https: (I used a non-Node server, running Apache), the protocol independent urls in my ep_tables fork https://github.com/Wikinaut/ep_tables/commit/c65c05924cbac89aa06e7ccbd2f92e76e2708a43 do work, and the ep_tables plugin in my SSL-EPL does work. |
added for sake of completeness incorrectly written plugins may impose risks of mixed https/http contentwhen referencing an insecure (http) resource within a secure (https) page. Such references create vulnerabilities that put the privacy and integrity of an otherwise-secure page at risk, because the insecure content could be modified in transit. If added to the DOM, insecurely-delivered content can read or alter the rest of the page even if the bulk of the page was delivered over a secure connections. (cited from https://blogs.msdn.com/b/ieinternals/archive/2009/06/22/https-mixed-content-in-ie8.aspx?Redirected=true) |
We're in agreement on this, this got implemented. |
As mentioned in #1202 (comment) in the context of bringing SSL to Etherpad Lite, it appears to be necessary to think of re-coding every URL in all links in the core and in plugins and in resources (css image urls) which are not relative to the server to become
to use "//" instead of http:// or https:// .
Everywhere.
References:
Important
Of course this only works, if the resource servers actually deliver their contents also over https:// .
The text was updated successfully, but these errors were encountered: