Преглед изворни кода

2005-02-13 Gonzalo Paniagua Javier <[email protected]>

	* DigestClient.cs: fix for digest auth. and URIs containing query. Patch
	by James Wilcox. Fixes bug #72571.


svn path=/trunk/mcs/; revision=40597
Gonzalo Paniagua Javier пре 21 година
родитељ
комит
46bead2cc4
2 измењених фајлова са 6 додато и 1 уклоњено
  1. 5 0
      mcs/class/System/System.Net/ChangeLog
  2. 1 1
      mcs/class/System/System.Net/DigestClient.cs

+ 5 - 0
mcs/class/System/System.Net/ChangeLog

@@ -1,3 +1,8 @@
+2005-02-13 Gonzalo Paniagua Javier <[email protected]>
+
+	* DigestClient.cs: fix for digest auth. and URIs containing query. Patch
+	by James Wilcox. Fixes bug #72571.
+
 2005-02-12 Gonzalo Paniagua Javier <[email protected]>
 
 	* HttpWebResponse.cs:

+ 1 - 1
mcs/class/System/System.Net/DigestClient.cs

@@ -289,7 +289,7 @@ namespace System.Net
 
 		private string HA2 (HttpWebRequest webRequest) 
 		{
-			string ha2 = String.Format ("{0}:{1}", webRequest.Method, webRequest.RequestUri.AbsolutePath);
+			string ha2 = String.Format ("{0}:{1}", webRequest.Method, webRequest.RequestUri.PathAndQuery);
 			if (QOP == "auth-int") {
 				// TODO
 				// ha2 += String.Format (":{0}", hentity);