Does anyone have a good list of valid and invalid URIs? https://mathiasbynens.be/demo/url-regex has some, but quite a few are classified wrongly according to https://tools.ietf.org/html/rfc3986 and https://tools.ietf.org/html/rfc7230#section-2.7.1 …. /cc @mathias
-
-
Replying to @kelunik
Yeah, my page explicitly says that — I wanted to block some URLs although they are technically valid. Please refer to the
@urlstandard instead of those RFCs.pic.twitter.com/e95IsdXyPW
1 reply 0 retweets 0 likes -
Replying to @mathias @urlstandard
Here is an example that's valid and accepted by browsers, it denotes an absolute vs. a potentially relative domain name, but Twitter doesn't parse this correctly either, thus posting this as an image.pic.twitter.com/U35floy3MR
1 reply 0 retweets 0 likes
Replying to @kelunik @urlstandard
Exactly — I explicitly don’t want to support such URLs for my URL shortener.
11:06 AM - 10 Feb 2018
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.