AbstractRequestTargetUrlCodingStrategy(line 174) throws confusing exception. It
would be better redirect to 404-page in this case.
-----------------------------------------------------------------------------------------------------------------------------------
Key: WICKET-1648
URL: https://issues.apache.org/jira/browse/WICKET-1648
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4-M1
Reporter: Andrey Tuzhikov
Steps to reproduce:
Then user manually types incorrect URL, this confusing exception will be thrown.
SEVERE: Internal error for /eshop/profile/p
java.lang.IllegalStateException: URL fragment has unmatched key/value pair: p
at
org.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy.decodeParameters(AbstractRequestTargetUrlCodingStrategy.java:174)
at
org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:76)
at
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:476)
at
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:175)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.