[
https://issues.apache.org/jira/browse/WICKET-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912269#action_12912269
]
Martin Grigorov commented on WICKET-3052:
-----------------------------------------
I tracked down the problem to org.mortbay.jetty.Response.sendRedirect(String
url).
We always pass encoded url (i.e. with '%23' instead of '#'), but Jetty's
#sendRedirect() calls :
HttpURI uri = new HttpURI(location);
String path=uri.getDecodedPath();
and then sets the decoded URL as value in the header.
I don't see a reason why Jetty does this but I cannot find in the web any
complaints about this behavior of Jetty too.
I'll ask in their forums.
> HybridUrlCodingStrategy probably uses wrong url encoding
> --------------------------------------------------------
>
> Key: WICKET-3052
> URL: https://issues.apache.org/jira/browse/WICKET-3052
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.9
> Reporter: Peter Karich
> Assignee: Martin Grigorov
> Attachments: wicket-bug-qs.zip
>
>
> try the appended quickstart (created from legup -> wicket 1.4.9): if you
> query e.g. for '#wicket' you will get:
> Problem accessing /jetwick/twittersearch/q/. Reason:
> NOT_FOUND
> The problematic url is:
> http://localhost:8080/jetwick/twittersearch/q/#wicket.5
> the correct url should be:
> http://localhost:8080/jetwick/twittersearch/q/%23wicket.5
> if you type that in you'll get the correct response.
> Another problem is when the keyword ends with a dot '.' like described here:
> http://lazydev.ildella.net/wicket-hybridurlcodingstrategy-and-url-with-d
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.