2007-03-13 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Tue, 13 Mar 2007 19:53:04 +0000 (19:53 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Tue, 13 Mar 2007 19:53:04 +0000 (19:53 -0000)
* AspParser.cs: fix an off-by-one parsing bug with server-side
includes.

svn path=/trunk/mcs/; revision=74202

mcs/class/System.Web/System.Web.Compilation/AspParser.cs
mcs/class/System.Web/System.Web.Compilation/ChangeLog

index 6936da975565971945d172791abe6a08a50daa0e..1953b34148e0df970c482999de1fc008f2204bc8 100644 (file)
@@ -208,7 +208,7 @@ namespace System.Web.Compilation
                        int index = 1;
                        for (; index < str.Length; index++) {
                                if (Char.IsWhiteSpace (str [index]))
-                                       index++;
+                                       continue;
                                else if (str [index] == '"')
                                        break;
                        }
index b4c5575c9f5ff3166d5f0e4c1c27baed1458ea9d..f728ba90cfea20ca2c5556197cd0c153726f5a2f 100644 (file)
@@ -1,5 +1,8 @@
 2007-03-13  Marek Habersack  <mhabersack@novell.com>
 
+       * AspParser.cs: fix an off-by-one parsing bug with server-side
+       includes.
+
        * PageThemeCompiler.cs: let property builders through, stop the
        builders that have no control type. Fixes bug #81092