According to RFCs 3986 and 3987 (for IRIs), certain characters aren't permitted in the userinfo part (the optional username:password@ bit). Currently the URL validator doesn't check those characters, so invalid URLs such as http://example.com/">[email protected] are returned as valid.