don't decode query string, we do that afterwards in servlet

where we know which encoding to use.
This commit is contained in:
hns 2002-05-23 20:37:40 +00:00
parent 459bf13822
commit 67a5f5f412

View file

@ -653,8 +653,10 @@ class ServeConnection implements Runnable, HttpServletRequest, HttpServletRespon
// Decode %-sequences. // Decode %-sequences.
reqUriPath = decode( reqUriPath ); reqUriPath = decode( reqUriPath );
if (reqQuery != null) // do not decode query string, since we do that from
reqQuery = decode (reqQuery); // helma servlet where we know more about encoding!
// if (reqQuery != null)
// reqQuery = decode (reqQuery);
Servlet servlet = (Servlet) serve.registry.get( reqUriPath ); Servlet servlet = (Servlet) serve.registry.get( reqUriPath );
// maybe the application name without slash? try with slash appended // maybe the application name without slash? try with slash appended
if (servlet == null) if (servlet == null)