Browse Source

2004-12-11 Gonzalo Paniagua Javier <[email protected]>

	* CookieContainer.cs: quote the port number.


svn path=/trunk/mcs/; revision=37630
Gonzalo Paniagua Javier 21 years ago
parent
commit
447c63141e

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

@@ -1,3 +1,7 @@
+2004-12-11 Gonzalo Paniagua Javier <[email protected]>
+
+	* CookieContainer.cs: quote the port number.
+
 2004-12-10 Gonzalo Paniagua Javier <[email protected]>
 
 	* WebConnection.cs:

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

@@ -173,7 +173,7 @@ namespace System.Net
 			}
 
 			if (cookie.Port == "" && uri != null && !uri.IsDefaultPort) {
-				cookie.Port = uri.Port.ToString ();
+				cookie.Port = "\"" + uri.Port.ToString () + "\"";
 			}
 		}