You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Ortwin Glück <or...@nose.ch> on 2004/08/26 08:23:54 UTC

Re: URI.parseAuthority throws URIException: invalid port number when using login with at-sign

Rudolf,

this is indee tricky. We had a similar bug here regarding the # character.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28728

Does this help?

Ortwin Glück

Rudolf Kaertner wrote:

> Is this a well known behaviour or is this to be considered as a bug?
> 
>  
> 
> The at-sign (“@”) is internally used as field separator for the port-number,
> so that
> 
> when using a login like user@domain.com for authentication will lead to this
> exception, as “domain” is an invalid port number…
> 
>  
> 
> Has anybody got an workaround or a solution?
> 
> 

-- 
  _________________________________________________________________
  NOSE applied intelligence ag

  ortwin glück                      [www]      http://www.nose.ch
  software engineer
  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: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org