RFR JDK-8037396: URI getQuery() and getFragment() don't decode properly

Pavel Rappo pavel.rappo at oracle.com
Fri Apr 4 14:45:18 UTC 2014


Hi everyone,

could you please review my change for JDK-8037396: http://cr.openjdk.java.net/~michaelm/8037396/webrev/

As per API, getQuery() and getFragment() should return the decoded string. But this seems not to work properly if there are squared brackets around them.

The result of analysis can be seen here:

https://bugs.openjdk.java.net/browse/JDK-8037396?focusedCommentId=13479678&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13479678

I think we should go the least intrusive way here (excluding 'do nothing' option).

Thanks
-Pavel


More information about the net-dev mailing list