[Mono-devel-list] [Patch] Bad url scheme detection in WebProxy.cs

Gonzalo Paniagua Javier gonzalo at ximian.com
Mon Jul 26 15:07:41 EDT 2004


El jue, 22-07-2004 a las 11:58, Yaacov Akiba Slama escribió:
> Hello,
> 
> In WebProxy.cs, if no scheme is detected in the url, "http://" is added 
> at the beginning of the url.
> 
> The problem is that the current code thinks the scheme is present as 
> soon as a ":" is found in the url, and this fails if the url contains a 
> port number (ex: "proxyhostname:8080"). The proposed solution is to 
> dtetect the scheme by searching the string "://".

The fix is in CVS now. Thanks.

-Gonzalo





More information about the Mono-devel-list mailing list