News for hackers. Stuff that matters.
Re:Surprising things about HTTP by dc-programmer on Thursday June 09, 2022 @07:23PM (#31688232)
The spec allows you to add the domain in the request line like

GET website/path HTTP/1.1 Host: website2

Some servers, like NGINX, will key on the request line domain (website) to find the logical server block rather than the host header (website2).

This can lead to interesting outcomes

There are no comments on this comment yet.