diff options
Diffstat (limited to 'mcs/class/System/System.Net/WebProxy.cs')
-rw-r--r-- | mcs/class/System/System.Net/WebProxy.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System/System.Net/WebProxy.cs b/mcs/class/System/System.Net/WebProxy.cs index b0299575f60..df8976c6966 100644 --- a/mcs/class/System/System.Net/WebProxy.cs +++ b/mcs/class/System/System.Net/WebProxy.cs @@ -208,7 +208,7 @@ namespace System.Net if (address == null)
return null;
- if (address.IndexOf (':') == -1)
+ if (address.IndexOf ("://") == -1)
address = "http://" + address;
return new Uri (address);
|