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
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
-
-
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
-
Exactly — I explicitly don’t want to support such URLs for my URL shortener.
End of conversation
New conversation -
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.