[Mono-dev] Problem with URIBuilder...

Atsushi Eno atsushi at ximian.com
Fri Oct 21 12:16:43 EDT 2005


Hi,

The patch looks good. I commited a bit modified version (ToString()
is evil for performance here). Thanks.

Atsushi Eno

Hubert FONGARNAND wrote:
> I've opened a new bug in bugzilla :
> http://bugzilla.ximian.com/show_bug.cgi?id=76501
> 
> If you execute the following code on mono : 
> 
> 
> UriBuilder ub=new UriBuilder("http://mondomaine/trucmuche/login.aspx");
> ub.Query=ub.Query.TrimStart(new char[]{'?'})+"&ticket=bla";
> Console.WriteLine("(URIBUILDER)Redirige vers :" +ub.ToString());
> Console.ReadLine();
> 
> you'll obtain :
> http://mondomaine:80//trucmuche/login.aspx?&ticket=bla
> (note the double / after :80)
> 
> on MS.NET you'll obtain
> http://mondomaine:80/trucmuche/login.aspx?&ticket=bla
> 
> I've done a little patch to solve this issue...
> Could someone apply it...




More information about the Mono-devel-list mailing list