Skip to content

Commit

Permalink
HtmlEncode the path
Browse files Browse the repository at this point in the history
	Fixes Novell bug #769799.
  • Loading branch information
gonzalop committed Jul 6, 2012
1 parent ac37b3a commit d16d462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit d16d462

Please sign in to comment.