it seems RFC1035 doesn't deny consecutive hyphens in hostname, domainname & TLD, so http://www.e-x--a---m---p--l-e.com is a valid URL.
@diegoperini RFC1035 doesn’t match reality. See the URL Standard instead. http://url.spec.whatwg.org/
-
-
@mathias I am especially interested about hyphens in URLs but the word "hyphen" or "dash" or "minus" doesn't even appear in that document. -
@diegoperini@mathias that does not say much. You want to study http://url.spec.whatwg.org/#concept-host-parser … which references http://www.unicode.org/reports/tr46/#ToASCII … (indirectly) - 9 more replies
New conversation -
-
-
@mathias I quickly checked the URL Standard you linked to but I couldn't find the part where it define the acceptable sequence of character.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.