tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Görling <>
Subject HttpServletRequest.getRequestURI() and URLDecoding
Date Mon, 14 Jun 2004 09:10:35 GMT

The SUN Javadoc from HttpServletRequest.getRequestURI() says that it should:
"Returns the part of this request's URL from the protocol name up to the 
query string in the first line of the HTTP request. The web container 
does not decode this String. For example: "


However, when I get a request to a encode url for example /foo/dvd%2Br/, 
getRequestURI() returns /foo/dvd+r, is this intentional? (so that I 
should adapt my code to it), or a bug (so that I should wait for a bugfix)?

Best Regards,

Stefan Görling

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message