Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

HtmlEncode the path

	Fixes Novell bug #769799.
  • Loading branch information...
commit d16d4623edb210635bec3ca3786481b82cde25a2 1 parent ac37b3a
Gonzalo Paniagua Javier authored July 06, 2012
2  mcs/class/System.Web/System.Web/HttpForbiddenHandler.cs
@@ -42,7 +42,7 @@ public void ProcessRequest (HttpContext context)
42 42
 				
43 43
 			throw new HttpException (403,
44 44
 						 "This type of page is not served.",
45  
-						 req != null ? req.Path : null,
  45
+						 req != null ? HttpUtility.HtmlEncode (req.Path) : null,
46 46
 						 description);
47 47
 		}
48 48
 

0 notes on commit d16d462

Please sign in to comment.
Something went wrong with that request. Please try again.