- What: Using newline characters in URLs is allowed by specification
- Impact: No direct security impact
Home > Internet > You can use newline characters in URLs You can use newline characters in URLs Thom Holwerda 2026-03-01 Internet No Comments I had no idea, but apparently, you can just use newline characters and tabs in URLs without any issues. Notice how it reports an error if there is a tab or newline character, but continues anyway? The specification says that A validation error does not mean that the parser terminates and it encourages systems to report errors somewhere . Effectively, the error is ignored although it might be logged. Thus our HTML is fine in practice. ↫ Daniel Lemire This reminds me of the “Email is easy” quiz . About The Author Thom Holwerda Follow me on Mastodon @ [email protected] Leave a Reply Cancel reply You must be logged in to post a comment.