Author: gonzalo
Date: 2005-06-25 23:35:01 -0400 (Sat, 25 Jun 2005)
New Revision: 46511

Modified:
   trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
   trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs
Log:
2005-06-25 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * TemplateControlCompiler.cs: comparison between member name and the
        first part of the id provided by the user should also be
        case-insensitive. Fixes bug #75379.



Modified: trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2005-06-25 
20:52:40 UTC (rev 46510)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2005-06-26 
03:35:01 UTC (rev 46511)
@@ -1,5 +1,11 @@
 2005-06-25 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
+       * TemplateControlCompiler.cs: comparison between member name and the
+       first part of the id provided by the user should also be
+       case-insensitive. Fixes bug #75379.
+
+2005-06-25 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
        * CachingCompiler.cs: use cache.InsertPrivate.
        * AspGenerator.cs: use cache.InsertPrivate. Removed extra call to
        AddDependency.

Modified: 
trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs
===================================================================
--- 
trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs    
    2005-06-25 20:52:40 UTC (rev 46510)
+++ 
trunk/mcs/class/System.Web/System.Web.Compilation/TemplateControlCompiler.cs    
    2005-06-26 03:35:01 UTC (rev 46511)
@@ -379,7 +379,7 @@
                        string prop_field = id.Replace ("-", ".");
                        string [] parts = prop_field.Split (new char [] {'.'});
                        int length = parts.Length;
-                       if (length < 2 || !InvariantCompare (member.Name, parts 
[0]))
+                       if (length < 2 || !InvariantCompareNoCase (member.Name, 
parts [0]))
                                return false;
 
                        if (length > 2) {

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

Reply via email to