Author: igorz
Date: 2007-04-26 11:29:04 -0400 (Thu, 26 Apr 2007)
New Revision: 76333

Modified:
   branches/mainsoft/gh20/mcs/class/System.Web/System.Web/ChangeLog
   
branches/mainsoft/gh20/mcs/class/System.Web/System.Web/HttpParamsCollection.cs
Log:
merged r76114-76120

Modified: branches/mainsoft/gh20/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- branches/mainsoft/gh20/mcs/class/System.Web/System.Web/ChangeLog    
2007-04-26 15:21:15 UTC (rev 76332)
+++ branches/mainsoft/gh20/mcs/class/System.Web/System.Web/ChangeLog    
2007-04-26 15:29:04 UTC (rev 76333)
@@ -1,3 +1,12 @@
+2007-04-22 Joshua Tauberer <[EMAIL PROTECTED]>
+ 
+       * HttpParamsCollection.cs: Fix IndexOutOfRangeException.
+
+2007-04-19  Miguel de Icaza  <[EMAIL PROTECTED]>
+
+       * BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
+       fix #81385
+
 2007-04-17 Igor Zelmanovich <[EMAIL PROTECTED]>
 
        * HttpException.cs: used GetBaseException() instead InnerException.

Modified: 
branches/mainsoft/gh20/mcs/class/System.Web/System.Web/HttpParamsCollection.cs
===================================================================
--- 
branches/mainsoft/gh20/mcs/class/System.Web/System.Web/HttpParamsCollection.cs  
    2007-04-26 15:21:15 UTC (rev 76332)
+++ 
branches/mainsoft/gh20/mcs/class/System.Web/System.Web/HttpParamsCollection.cs  
    2007-04-26 15:29:04 UTC (rev 76333)
@@ -80,7 +80,7 @@
                        if (values == null)
                                return null;
 
-                       if (values [0] == ',')
+                       if (values.Length > 0 && values [0] == ',')
                                return values.Substring (1);
 
                        return values;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to