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.
-
-
Replying to @diegoperini
I need to tweak my "regex-weburl" to accept consecutive hyphens in URLs like "http://www.e-x--a---m---p--l-e.com ". IDN URLs also use double hyphens.
1 reply 0 retweets 1 like -
Replying to @diegoperini
Can somebody confirm that consecutive hyphens are valid ? Or have pointers to more up to date RFC than 1035?
2 replies 0 retweets 0 likes -
Replying to @diegoperini
@diegoperini Well, you can buy domains like http://e-x--a---m---p--l-e.com , and they'll work . Is that not confirmation enough?2 replies 0 retweets 0 likes -
Replying to @atdavidmurdoch
@vervestudiosco yes ... but I would have preferred a clear statement in an RFC. I found http://G--A.com exists & resolves !1 reply 0 retweets 1 like
Replying to @diegoperini
@diegoperini @vervestudiosco Oh wow, WTF!
10:36 AM - 27 Jun 2014
from Dendermonde, België
0 replies
0 retweets
0 likes
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.