cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/servlet CocoonServlet.java
Date Tue, 13 Aug 2002 17:46:46 GMT
bloritsch    2002/08/13 10:46:46

  Modified:    src/java/org/apache/cocoon/servlet CocoonServlet.java
  Log:
  add support for URLDecoder
  
  Revision  Changes    Path
  1.34      +3 -2      xml-cocoon2/src/java/org/apache/cocoon/servlet/CocoonServlet.java
  
  Index: CocoonServlet.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/servlet/CocoonServlet.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- CocoonServlet.java	31 Jul 2002 13:13:30 -0000	1.33
  +++ CocoonServlet.java	13 Aug 2002 17:46:46 -0000	1.34
  @@ -99,6 +99,7 @@
   import java.io.PrintWriter;
   import java.lang.reflect.Constructor;
   import java.net.URL;
  +import java.net.URLDecoder;
   import java.util.Arrays;
   import java.util.HashMap;
   import java.util.StringTokenizer;
  @@ -983,7 +984,7 @@
                       uri = uri.substring(1);
                   }
   
  -                Environment env = this.getEnvironment(uri, request, res);
  +                Environment env = this.getEnvironment(URLDecoder.decode(uri), request,
res);
   
                   // Initialize a fresh log context containing the object model : it
                   // will be used by the CocoonLogFormatter
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message