UserinfoInTarget¶
A request-target authority carries a userinfo subcomponent.
RFC 9110 §4.2.4 deprecates userinfo in http/https URIs: a client MUST NOT
send it, and a recipient should treat its presence as an error, since it
obscures the true authority (a phishing aid) and lets parties that split the
authority on a different @ derive different hosts — a routing-confusion /
request-smuggling surface. The CONNECT authority-form grammar (RFC 9112
§3.2.3, uri-host ":" port) has no userinfo at all. Stallion rejects any
userinfo in the request-target authority with 400, for every request-target
form, independent of the Host header.
Constructors¶
create¶
Returns¶
- UserinfoInTarget val^
Public Functions¶
string¶
Returns¶
- String iso^
eq¶
Parameters¶
- that: UserinfoInTarget val
Returns¶
- Bool val
ne¶
Parameters¶
- that: UserinfoInTarget val
Returns¶
- Bool val