Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > c33ef3731f5bf31c11b537397d65b40c > files > 1

mono-2.10.1-1.1.mga1.src.rpm

--- mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs.orig	2012-08-11 18:48:46.946062473 +0300
+++ mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs	2012-08-11 18:49:44.885480363 +0300
@@ -42,7 +42,7 @@
 				
 			throw new HttpException (403,
 						 "This type of page is not served.",
-						 req != null ? req.Path : null,
+						 req != null ? HttpUtility.HtmlEncode (req.Path) : null,
 						 description);
 		}