Friendly URLs and suffixes (patch included)
-------------------------------------------

                 Key: STS-444
                 URL: http://mc4j.org/jira/browse/STS-444
             Project: Stripes
          Issue Type: Bug
          Components: ActionBean Dispatching
    Affects Versions: Release 1.5
            Reporter: Rasmus Monnerup
         Assigned To: Tim Fennell


When using a suffix in a friendly URL and the URL is called without all 
parameters, Stripes will add the suffix to the last parameter bind.

Consider the following:
@UrlBinding("/dynamic/{foo}/{bar}.html")

This is how Stripes reacts to suffix now:
A call to /dynamic/x/y.html works fine, foo=x and bar=y, but a to call 
/dynamic/x.html ends up with adding the suffix to foo and the result is 
foo=x.html and bar=null.

This is how I expect Stripes to reacts to suffix:
A call to /dynamic/x/y.html should give foo=x and bar=y and a call to 
/dynamic/x.html should give foo=x and bar=null, the suffix is not added to foo.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
Stripes-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to