Revision: 971
          http://stripes.svn.sourceforge.net/stripes/?rev=971&view=rev
Author:   bengunter
Date:     2008-10-08 03:05:08 +0000 (Wed, 08 Oct 2008)

Log Message:
-----------
Fix for STS-611 from trunk.

Modified Paths:
--------------
    
branches/1.5.x/stripes/src/net/sourceforge/stripes/action/RedirectResolution.java

Modified: 
branches/1.5.x/stripes/src/net/sourceforge/stripes/action/RedirectResolution.java
===================================================================
--- 
branches/1.5.x/stripes/src/net/sourceforge/stripes/action/RedirectResolution.java
   2008-10-08 03:03:27 UTC (rev 970)
+++ 
branches/1.5.x/stripes/src/net/sourceforge/stripes/action/RedirectResolution.java
   2008-10-08 03:05:08 UTC (rev 971)
@@ -164,11 +164,11 @@
             addParameter(StripesConstants.URL_KEY_FLASH_SCOPE_ID, flash.key());
         }
 
-        // Prepend the context path if required
+        // Prepend the context path if requested
         String url = getUrl(request.getLocale());
         if (prependContext) {
             String contextPath = request.getContextPath();
-            if (contextPath.length() > 1 && !url.startsWith(contextPath + "/"))
+            if (contextPath.length() > 1)
                 url = contextPath + url;
         }
 


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to