Skip to content
Permalink
Browse files

HtmlEncode the path

	Fixes Novell bug #769799.
  • Loading branch information...
gonzalop committed Jul 6, 2012
1 parent ac37b3a commit d16d4623edb210635bec3ca3786481b82cde25a2
Showing with 1 addition and 1 deletion.
  1. +1 −1 mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs
@@ -42,7 +42,7 @@ public void ProcessRequest (HttpContext context)


throw new HttpException (403, throw new HttpException (403,
"This type of page is not served.", "This type of page is not served.",
req != null ? req.Path : null, req != null ? HttpUtility.HtmlEncode (req.Path) : null,
description); description);
} }


0 comments on commit d16d462

Please sign in to comment.
You can’t perform that action at this time.