2011/5/18 sebb <[email protected]>:
> As far as I can tell, Tomcat validates the format of the Host header,
> but otherwise ignores the port?
> Is that correct?

No.
See e.g. Http11Processor.parseHost(MessageBytes) in trunk. The last
line there is
[[[
  request.setServerPort(port);
]]]
where port number in parsed from the header.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to