You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Do not include user information in Host header
According to RFC 9110, section 7.2, the Host header should only comprise
the URI host and an optional port.
Currently, the examples set the Host header to the URI's authority which
may also contain user information (see RFC 3986, section 3.2).
Update the examples to construct the Host header manually to avoid
sensitive information from showing up in server logs and to ensure that
the server's routing logic works correctly when a username and password
are supplied.
0 commit comments