Skip to content

Commit

Permalink
Fix typo. It has been there for 4 years.
Browse files Browse the repository at this point in the history
	Why on earth this wasn't found earlier? $20 reward to whoever gives a
	plausible explanation.
  • Loading branch information
gonzalop committed Sep 16, 2010
1 parent 6e23108 commit 3b8eeb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcs/class/System/System.Net/WebRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public static WebRequest Create (Uri requestUri)
{
if (requestUri == null)
throw new ArgumentNullException ("requestUri");
return GetCreator (requestUri.AbsoluteUri).Create (requestUri);
return GetCreator (requestUri.Scheme).Create (requestUri);
}

public static WebRequest CreateDefault (Uri requestUri)
Expand Down

0 comments on commit 3b8eeb5

Please sign in to comment.