UrlShortner validates and parses urls based on MediaWiki's url parsing functions which are based on PHP's parse_url function with a couple fixes.
However, PHP's url parsing functions do not follow the WHATWG standard that web browsers use.
As a result you can shorten urls that you shouldn't be able to. For example: https://w.wiki/H$rD which goes to my personal website (Based on differing interpretations on how \ is handled in hostnames).
Inspired by T418431