Revision: 1010
          http://stripes.svn.sourceforge.net/stripes/?rev=1010&view=rev
Author:   bengunter
Date:     2008-11-24 21:24:22 +0000 (Mon, 24 Nov 2008)

Log Message:
-----------
STS-617: Fixed a false report of a binding conflict for bindings that end with 
a slash.

Modified Paths:
--------------
    trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java

Modified: 
trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java 
2008-11-24 20:52:14 UTC (rev 1009)
+++ trunk/stripes/src/net/sourceforge/stripes/controller/UrlBindingFactory.java 
2008-11-24 21:24:22 UTC (rev 1010)
@@ -346,7 +346,7 @@
 
         // Wire some paths directly to the ActionBean (path, path + /, path + 
suffix, etc.)
         cachePath(binding.getPath(), binding);
-        if (!"/".equals(binding.getPath()))
+        if (!binding.getPath().equals(pathPlusSlash))
             cachePath(pathPlusSlash, binding);
         if (binding.getSuffix() != null)
             cachePath(binding.getPath() + binding.getSuffix(), binding);


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