Hi,
I have an URI like this:
/action/getTicket?ticketNo=dced6ca9fd63f916e4b5d||786

In HttpClient 3.01, the creation of org.apache.commons.httpclient.URI like
this:
new URI("/action/getTicket?ticketNo=dced6ca9fd63f916e4b5d||786")
would be successful. While later I switched to the latest version of 3.1
stable, the creation threw an URIException:
org.apache.commons.httpclient.URIException: Invalid query
        at
org.apache.commons.httpclient.URI.parseUriReference(URI.java:2049)
        at org.apache.commons.httpclient.URI.<init>(URI.java:167)
        at test.URLTest.main(URLTest.java:26)

I didn't research too deeply on this problem, but I knew it's caused by the
encoding of these two characters "||" in the query string. I have no idea
what changes in the latest version affects the URI's encoding.
Has anyone met this problem like mine? 

Hef



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to