You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2010/09/21 17:42:32 UTC

[jira] Created: (WICKET-3067) The new mappers ignore single query parameter with empty value

The new mappers ignore single query parameter with empty value
--------------------------------------------------------------

                 Key: WICKET-3067
                 URL: https://issues.apache.org/jira/browse/WICKET-3067
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-M2.1
            Reporter: Martin Grigorov


Making request like http://host:port/?paramName= will result in empty PageParameters.
The problem is in org.apache.wicket.request.mapper.AbstractMapper.extractPageParameters(Request, int, IPageParametersEncoder) because it skips the first parameter if its value is empty.
This is made because most of the time this is the PageComponentInfo part of the URL.

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


[jira] Resolved: (WICKET-3067) The new mappers ignore single query parameter with empty value

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-3067.
-------------------------------------

    Fix Version/s: 1.5-M3
       Resolution: Fixed

Fixed with r999588.

> The new mappers ignore single query parameter with empty value
> --------------------------------------------------------------
>
>                 Key: WICKET-3067
>                 URL: https://issues.apache.org/jira/browse/WICKET-3067
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M2.1
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 1.5-M3
>
>
> Making request like http://host:port/?paramName= will result in empty PageParameters.
> The problem is in org.apache.wicket.request.mapper.AbstractMapper.extractPageParameters(Request, int, IPageParametersEncoder) because it skips the first parameter if its value is empty.
> This is made because most of the time this is the PageComponentInfo part of the URL.

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


[jira] Assigned: (WICKET-3067) The new mappers ignore single query parameter with empty value

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reassigned WICKET-3067:
---------------------------------------

    Assignee: Martin Grigorov

> The new mappers ignore single query parameter with empty value
> --------------------------------------------------------------
>
>                 Key: WICKET-3067
>                 URL: https://issues.apache.org/jira/browse/WICKET-3067
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M2.1
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>
> Making request like http://host:port/?paramName= will result in empty PageParameters.
> The problem is in org.apache.wicket.request.mapper.AbstractMapper.extractPageParameters(Request, int, IPageParametersEncoder) because it skips the first parameter if its value is empty.
> This is made because most of the time this is the PageComponentInfo part of the URL.

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