[ 
https://issues.apache.org/jira/browse/WICKET-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan McKinley updated WICKET-1286:
----------------------------------

    Attachment: WICKET-1286-HybridUrlCodingStrategy.patch

simple patch:
{code:java}
 if( mountPath.endsWith( "/" ) ) {
         throw new IllegalArgumentException( "mountPath can not end with a '/': 
" + mountPath );
 }
{code}


> HybridUrlCodingStrategy should throw an error for paths with trailing /
> -----------------------------------------------------------------------
>
>                 Key: WICKET-1286
>                 URL: https://issues.apache.org/jira/browse/WICKET-1286
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 1.3.0-final
>            Reporter: Ryan McKinley
>            Priority: Trivial
>         Attachments: WICKET-1286-HybridUrlCodingStrategy.patch
>
>
> Registering a path with trailing / causes the HybridUrlCodingStrategy to 
> redirect to an invalid page

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to