You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2007/10/30 21:37:50 UTC

[jira] Closed: (WICKET-1092) IndexedParamUrlCodingStrategy creates a parameter in PageParameters when there is no parameter in the URL

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

Johan Compagner closed WICKET-1092.
-----------------------------------

    Resolution: Fixed

fixed, it test if the rest is only empty (only has an ending /)

> IndexedParamUrlCodingStrategy creates a parameter in PageParameters when there is no parameter in the URL
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-1092
>                 URL: https://issues.apache.org/jira/browse/WICKET-1092
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta4
>            Reporter: Ludovic Orban
>            Assignee: Johan Compagner
>            Priority: Minor
>             Fix For: 1.3.0-beta5
>
>
> If you mount a page like this:
>  mount(new IndexedParamUrlCodingStrategy("/page", MyPage.class));
> MyPage is a class with a contructor that accepts PageParameters.
> When you try to access the page with any of these URLs:
>  http://myserver/page/
> or
>  http://myserver/page
> the PageParameters contains a single parameter "0" / "".
> But when you try:
>  http://myserver/page//
> or
>  http://myserver/page///
> then the PageParameters is empty. 

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