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 2014/01/15 10:59:20 UTC

[jira] [Assigned] (WICKET-5468) UrlRenderer#renderRelativeUrl potentially appends "/" after query parameters

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

Martin Grigorov reassigned WICKET-5468:
---------------------------------------

    Assignee: Martin Grigorov

> UrlRenderer#renderRelativeUrl potentially appends "/" after query parameters
> ----------------------------------------------------------------------------
>
>                 Key: WICKET-5468
>                 URL: https://issues.apache.org/jira/browse/WICKET-5468
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.12.0
>            Reporter: Michael Frankerl
>            Assignee: Martin Grigorov
>
> The current implementation of the UrlRenderer appends a slash at the end of the full rendered URL. This causes invalid URLs if there is query parameter value which let the full URL matching the condition in line 294.
> Example of calling "renderRelativeUrl"
> before: ./path/?param=value..
> after: ./path/?param=value../
> I think the condition and conversion of the URL should affect only the path, like this:
> before: ./path/..?param=value..
> after: ./path/../?param=value..



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)