W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1997

CGI GET problem

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Thu, 13 Feb 1997 17:09:56 +0100 (MET)
Message-Id: <199702131609.RAA07410@www43.inria.fr>
To: trapper@cix.compulink.co.uk
Cc: www-jigsaw@w3.org

This one has been fixed in the newly available release (yes its out)

Anselm.

Chris Jolly writes:
 > I believe that there is an error in CgiResource in that the GET query 
 > string is unescaped. This results in queries being mangled on their way 
 > to the CGI program concerned. It is easily fixed by removing the call to 
 > Request.unescape(), i.e. the bit of CgiResource.java that reads:
 > 
 >     query = request.getQueryString();
 >     if ( query != null ) {
 >         query = request.unescape(request.getQueryString()) ;
 >         addEnv("QUERY_STRING", query, env) ;
 >     }
 > 
 > can be changed to:
 > 
 >     query = request.getQueryString();
 >     if ( query != null ) {
 >         addEnv("QUERY_STRING", query, env) ;
 >     }
 > 
 > Haven't checked this extensively but it has certainly fixed some problems!
 > 
 > kit
 > 
 > 
Received on Thursday, 13 February 1997 11:11:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT