>Remove all ASCII tab or newline from input.<p>the title is referring to inside html attributes, where they will be removed hence not affect where the link points.
Yeah "You can use newline or tab characters in the HREF attribute and the browser will throw a validation error, remove the offending character, try again, then succeed" would be a more accurate title.
You can put pickle juice in your cereal too
When you write a regexp to detect liquids in your cereal, you have to account for the pickles, that is, newlines an tabs.
I was thinking similar. Just another example of just because you can doesn't mean you should.
After I read this, I started to look at the Wikipedia article on Base64 and eventually got to the article for the data URI scheme. That's where I found a sentence that seems to a little bit at odds with the blogpost. The Wikipedia article mentions that "whitespace characters are not permitted in data URIs".<p>But then I suppose it goes back to the main thrust of the blogpost because it says that in the context of HTML 4 and 5, that linefeeds within an attribute value are ignored. So possibly there are some other contexts where whitespace might not be ignored.
They are not, but you can encode them, if you encode whitespace characters, you included whitespace in a URL.<p>One of the requirement of URLs is that it needs to be transmissible over paper or aural media, so arbitrary octets and the unused portion of ASCII are not legal either.
Somewhat relatedly, GitHub Pages does support using URL-encoded newline characters %0A to reference file names with newlines,[0] but GitHub itself will omit the file from the web UI's tree view.<p>[0]: <a href="https://sheeptester.github.io/hello-world/test/%20%0A%20%0A/%0Anewline.html" rel="nofollow">https://sheeptester.github.io/hello-world/test/%20%0A%20%0A/...</a>
I stopped reading Daniel Lemire a while back.<p>He had a blog post that seemed just weird and out of left field. Like it was clearly a response to something but what? What was the motivation for it?<p>When asked he said y'know. He just thinks about stuff and writes and that's what he does.<p>Turns out the blog post was a post he <i>also</i> made on social media. And said post was a response to something. And I guess he thought it was pretty good writing and should go on his blog, too.<p>Nothing wrong with that on it's own but I feel like most people would preface a post like that with "I saw this thing." And when directly asked like... He just straight up lied?<p>That whole thing just rubbed me the wrong way.<p>For full context <a href="https://lemire.me/blog/2025/10/17/research-results-are-cultural-artifacts-not-public-goods/" rel="nofollow">https://lemire.me/blog/2025/10/17/research-results-are-cultu...</a><p>In the comments I turned into kind of a dick. I was pretty upset about being lied to.<p>Anyways between that and articles like this that are honestly useless and kinda misleading - I'm not really the biggest fan.
title is misleading. I agree with @bmandale's comment.
I don't even put space characters in my filenames. May MyDocu~1 live on forever.
on a side note you can use many surprising non-standard HTTP verbs, but many CDNs like Cloudflare filter them
“Hey you got new lines in my URLs!”<p>“You got URLs in my new lines!”
Vertical tabs in file names is where it’s at.
Cool thanks I 100% will not, if only because newlines are header separators in HTTP.
- <a href="https://lemire.me/blog/" rel="nofollow">https://lemire.me/blog/</a> I am not able to see a quick list of all the posts on your blog, I tried all the pages<p>- <a href="https://lemire.me/posts" rel="nofollow">https://lemire.me/posts</a><p>- <a href="https://lemire.me/archive" rel="nofollow">https://lemire.me/archive</a><p>- <a href="https://lemire.me/archives" rel="nofollow">https://lemire.me/archives</a><p>- Everyone of them gives me a 404, can you kindly add some page on your blog form where I can just see the titles of all the articles quickly?<p>- Most blogs posted on HN are not user friendly in this regard, sometimes the reader wants a quick glimpse of everything on 1 page so that they can quickly pick interesting stuff