- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
Ok then the issue has nothing to do with a protocol relative link starting with "//" but with the simple fact that relative links should be either converted to absolute links or the related content should be saved along the saved file and the links rewritten accordingly if you're going to save a html file locally and you expect the links still to work. Otherwise broken links are to be expected regardless of the browser.
All common browsers (including IE) interpret "//" correctly since ages. So just use it and don't believe any FUD.
Admin
Yeah, I've done this... http://stackoverflow.com/a/23885812/8681
Admin
(These are german style guillemots, FTW. Proper french ones require some space at the inner side, and I have no idea which one, nor how to type it on a telephone)
Admin
This is why source code should always be in ASCII, where "smart" quotes and other irritation-caused characters show up as the rubbish they are. No exceptions - even string constants, which should be in English and translated by something else later on if needed.
Admin
It might be worth giving your bloggers an upper high school literacy test before allowing them to post.
Admin
TRWTF is that %E2%80%9D isn't an open quote, it's a close quote. So whatever entity generated the smart quotes didn't even do it right.
Or is TRWTF that the author has joined the long list of people whose fingers typed "mod_redirect" when their brains means "mod_rewrite"?
Or is TRWTF that blame is dumped on mod_rewrite when it belongs by rights to the human CMS developer who decided !-f is an appropriate handling of all incoming requests?
Admin
Based on which country's standards though?
Admin
If you're deploying on SSL, why don't you develop on SSL? Set a self-signed cert, add it as trusted in your browser, and develp as it's supposed to work.
Even if you're testing over http: with no SSL, I know of no browser that would throw a "element too secure" warning if you try to load a "https://" src from a http: or file: location.
Have you actually tried the "//[whatever]" syntax? ** Chrome 35 goes cuckoo banans if you try to open it from a "file://" location. It fails with a net::ERR_FILE_NOT_FOUND after 1.13 seconds. ** Opera 22 will wait for over 22 seconds before failing!! ** MSIE 11 takes about the same, 21+ seconds. ** Firefox 30 seems to be the only one sane enough to ignore the malformed url altogether.
TL;DR: Just use "https://[whatever]" and be done with it.
Admin
You can configure it in System Preferences / Language & Text / Text.
Admin
France, Germany or Sweden. At a pinch, Scotland.
Admin
By TDWTF standards I thought it was quite well-written, let's say "style-wise".
I want to welcome Bruce Johnson and congratulate him on his first article.
Admin
Browsers don't throw a[sic] "element too secure" warning. But proxies will by design pass through any connection. In which case you might as well just inline everything FOR SPEED.
Admin
Well, they are, when you write in Turkish. This causes confusion in software contexts...
Admin
French quotes require a thin non-breaking space on the inside (you don't want a line-break there).
Admin
We had a Mac user learning HTML come into our shop one day saying their (static) HTML was not rendering right in some browsers. Turns out we all incorrectly assumed that a name like "Textedit" would contain an actual text editor, not a quote mangling almost word processor.
Admin
Admin
So what if outgoing proxies let it pass through? It's only supposed to get downloaded once, per client, ever. Reverse proxies on the other hand, as in those accelerating the website, won't even see it.
Admin
Admin
Copy/pasting from a blog
Admin
They're very pedantic, no one likes pedants.
Admin
I TA a computing class. The professor's course is given as a PDF with smart quotes even for the snippets of code that the students are expected to copy-paste. I use the student's reactions to the compilation errors as a litmus test for their future success in I.T....
Admin
Outlook. Code could easily be emailed around and copy/pasted in.
Admin
We had the same problem in a Web Design course I took last year. We would get chaos-causing smart quotes when we cut-and-pasted... from our own textbook (on DVD)... that had been written-and-produced by our own instructor.
I'm trying to remember whether Dreamweaver (which our instructor wrote the textbook around!) also injected smart quotes, all by itself -- or if I'm confusing this with some other issue. There were a few...
Admin
Is there a good reason to use Ubuntu on a web server at all? It seems to me that a webserver would generally not have any GUI installed, and the main reason for using Ubuntu seems to be the GUI.
Admin
Which in the end is why I call them stupid quotes - they don't add anything at all.
And the fubar they can cause when writing an installation document.
Admin
Bruce, for future reference, collective nouns for turtles are bale, dole, or nest. I do concede that herd probably conjures the intended mental image better.