Michael Frankerl created WICKET-5468:
----------------------------------------
Summary: 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
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)