Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
9.0.0-M5
-
None
Description
Wicket's UrlEncoder and UrlDecoder are customized versions of java.net.URLEncoder adapted to support conditional encoding of space for paths vs queries.
The implementation of java.net.URLEncoder is far from optimal and frameworks such as Spring and Apache HttpClient use their own, much faster implementations.
Since both of these classes showed up prominently in my production profiler, I would suggest to replace the current implementation with the quite elegant one in Spring's UriUtils.