chkal/pf-issue-test — Issue #93: Use URI class to encode/decode URLs
Author: chkal
Created: 2012-03-06 07:33:23+00:00
State: open

Originally filed by **chkalt** on 2011-03-09T16:31:46

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=95

We are currently using URLEncoder/URLDecoder in various places to handle URL encoding/decoding. Regarding to [1] this is incorrect. We should use the URI class for this.

I already fixed this for inbound URL rewriting. See PrettyFilter.encodeUrlWithQueryString() for details.

[1] http://stackoverflow.com/questions/724043/http-url-address-encoding-in-java/2595894#2595894