You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
564 B
14 lines
564 B
diff --git a/mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs b/mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs
|
|
index af5ddf4..7e87d48 100644
|
|
--- a/mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs
|
|
+++ b/mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs
|
|
@@ -42,7 +42,7 @@ public void ProcessRequest (HttpContext context)
|
|
|
|
throw new HttpException (403,
|
|
"This type of page is not served.",
|
|
- req != null ? req.Path : null,
|
|
+ req != null ? HttpUtility.HtmlEncode (req.Path) : null,
|
|
description);
|
|
}
|
|
|