extra check
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 3 Oct 2005 21:34:14 +0000 (21:34 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 3 Oct 2005 21:34:14 +0000 (21:34 -0000)
svn path=/trunk/mcs/; revision=51136

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

index 4b717acb5fc38eea93e0bb84140ff15422cf662a..7945c1e1c01c58bdb871e450ca47782b583635ff 100644 (file)
@@ -578,7 +578,7 @@ namespace System.Web {
 
                void DoFilter (byte [] buffer)
                {
-                       if (input_filter == null)
+                       if (input_filter == null || filter == null)
                                return;
 
                        // Replace the input with the filtered input