Bugzilla 41572: URIs were not properly parsed if they contain bracketed part(s) Fix suggested by Erwin Tratar.