In today's groundbreaking discovery, we learn that newline characters in URLs can magically transform your web experience into a 403 Forbidden error! 🌟🚫 Because who wouldn't want their internet journey to be roadblocked by a forbidden message? 🙃 The web's way of saying, "Nice try, but no!" 🛑
https://lemire.me/blog/2026/02/28/you-can-use-newline-characters-in-urls/ #internetissues #webdevelopment #403forbidden #newlinecharacters #technews #webexperience #HackerNews #ngated
You can use newline characters in URLs

We locate web content using special addresses called URLs. We are all familiar with addresses like https://google.com. Sometimes, URLs can get long and they can become difficult to read. Thus, we might be tempted to format them like so in HTML using newline and tab characters, like so: <a href="https://lemire.me/blog/2026/02/21/ how-fast-do-browsers-correct-utf-16-strings/">my blog post</a> It will … Continue reading You can use newline characters in URLs

Daniel Lemire's blog
You can use newline characters in URLs

We locate web content using special addresses called URLs. We are all familiar with addresses like https://google.com. Sometimes, URLs can get long and they can become difficult to read. Thus, we might be tempted to format them like so in HTML using newline and tab characters, like so: <a href="https://lemire.me/blog/2026/02/21/ how-fast-do-browsers-correct-utf-16-strings/">my blog post</a> It will … Continue reading You can use newline characters in URLs

Daniel Lemire's blog