Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Quote:
Originally Posted by vangogh
Brian this is when adding a link to a web page, not typing into the address bar of your browser. Different scenario.
|
Actually, typing it into the address bar works just fine for me on FF 3.5, but if used on a link inside a local file, it will be relative to the file system.
Quote:
Originally Posted by marketingman100
To me though it would only work on servers where the server recognizes it as a valid relevency....
Personally I always teach students to use full URL's.
http://www.website.com/ or https://www.website.com
I would wonder if the // creates a link that the browser recognizes.
|
From what I understand, this doesn't have anything to do with the server, only the browser, or rather, any client which uses HTTP protocols to access resources. According to the article, this is how the writer links to external resources when using https, to avoid generating warnings about mixing secure and insecure content. This works because it is technically a relative link, and all relative links on an HTTPS page use the HTTPS protocol. Of course this will only work if the external resource has a valid certificate, but I think most CDN systems have one.
This behavior is described in RFC 1808, way back when HTML 2 was specified: http://www.w3.org/Addressing/rfc1808.txt
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
Last edited by vangogh; 12-07-2009 at 07:27 PM..
|