From: <php...@li...> - 2010-08-06 09:10:15
|
> In my Jetty environment, > req.getAttribute("javax.servlet.include.request_uri") returns null, > however, req.getAttribute("javax.servlet.forward.request_uri") will return > the correct uri before forwarding Sounds like a jetty bug; if I remember correctly we don't need to check "javax.include.request_uri" attribute, because it is guaranteed to be the same as the return value of getRequestUri(). . > For port 80, it includes the port number. The actually variable is sth like > acme.com:80 , but in Apache/Nginx, HTTP_HOST won't show the port number when > the port is 80. Yes, this could be changed. However, java cannot listen on a privileged port anyway (as it cannot drop privileges), so I don't think the current behaviour is an issue. Can you please send me a patch? I will include it in version 6.2.1 Regards, Jost Bökemeier |