* HttpRequest.cs (CheckString): add back in the check for \xff1c
authorChris Toshok <toshok@novell.com>
Fri, 10 Mar 2006 18:35:09 +0000 (18:35 -0000)
committerChris Toshok <toshok@novell.com>
Fri, 10 Mar 2006 18:35:09 +0000 (18:35 -0000)
that i took out.  oops.

2006-03-10  Chris Toshok  <toshok@ximian.com>

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

mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/HttpRequest.cs

index 0d4d58b0deb875e99eab68d74349967ecb96cf79..4a87fd35d7d23d245c1afeefed5a91c38b6d73f4 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-10  Chris Toshok  <toshok@ximian.com>
+
+       * HttpRequest.cs (CheckString): add back in the check for \xff1c
+       that i took out.  oops.
+
 2006-03-10  Chris Toshok  <toshok@ximian.com>
 
        * HttpRequest.cs (CheckString): implement as described in
index e61eb65e4fa7ed1fdb8917f939e617068c666269..e478db5978aebc517c6f57525f520250df67f9dc 100644 (file)
@@ -1288,7 +1288,7 @@ namespace System.Web {
                        for (int idx = 0; idx < len - 1; idx ++) {
                                char c1 = val[idx];
                                char c2 = val[idx+1];
-                               if (c1 == '<') {
+                               if (c1 == '<' || c1 == '\xff1c') {
                                        if (c2 == '!'
                                            || (c2 >= 'a' && c2 <= 'z')
                                            || (c2 >= 'A' && c2 <= 'Z'))