Revision: 1311
          http://stripes.svn.sourceforge.net/stripes/?rev=1311&view=rev
Author:   bengunter
Date:     2010-11-10 15:43:24 +0000 (Wed, 10 Nov 2010)

Log Message:
-----------
Applied fix for STS-743 from 1.5.x branch

Modified Paths:
--------------
    trunk/stripes/src/net/sourceforge/stripes/util/HttpUtil.java

Modified: trunk/stripes/src/net/sourceforge/stripes/util/HttpUtil.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/util/HttpUtil.java        
2010-11-10 15:42:05 UTC (rev 1310)
+++ trunk/stripes/src/net/sourceforge/stripes/util/HttpUtil.java        
2010-11-10 15:43:24 UTC (rev 1311)
@@ -54,11 +54,11 @@
         }
 
         if (servletPath == null)
-            return pathInfo == null ? "" : pathInfo;
+            return pathInfo == null ? "" : StringUtil.urlDecode(pathInfo);
         else if (pathInfo == null)
-            return servletPath;
+            return StringUtil.urlDecode(servletPath);
         else
-            return servletPath + pathInfo;
+            return StringUtil.urlDecode(servletPath + pathInfo);
     }
 
     /**


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Stripes-development mailing list
Stripes-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to