It seems that the problem is in URI.java line 1886 that does not like meta characters in the userinfo. Should we be escaping the userinfo somehow (?) before passing the string to URI?

Odi

Gustav Munkby wrote:


hi,


If I do:

HTTPUrl url = new HTTPUrl("kurt", "nicepass#", hostname, 80, path);

throws a URIException with message "port number invalid".

First of all the message is wrong...

Next attempt was to urlencode the password, which resulted in the above line working, but the password was sent url-encoded to the destination, which can hardly be the desired behaviour?

regards,
Gustav Munkby




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

-- _________________________________________________________________ NOSE applied intelligence ag

 ortwin glück                      [www]      http://www.nose.ch
 software engineer                 [email] [EMAIL PROTECTED]
 hardturmstrasse 171               [pgp id]           0x81CF3416
 8005 zürich                       [office]      +41-1-277 57 35
 switzerland                       [fax]         +41-1-277 57 12

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



Reply via email to