* HttpException.cs:
Don't generate trace for 403. Fixes bug #509092
svn path=/trunk/mcs/; revision=135488
* HttpException.cs: do not show version info if custom errors are
in effect. Fixes bug #509092
+ Don't generate trace for 403. Fixes bug #509092
* HttpApplicationFactory.cs: OnFileChanged ignores the directory
part of the file triggering the event. Fixes bug #509998
if (resource_name != null && resource_name.Length > 0)
builder.AppendFormat ("<p><strong>Requested URL: </strong>{0}</p>\r\n", resource_name);
- if (showTrace && baseEx != null && http_code != 404) {
+ if (showTrace && baseEx != null && http_code != 404 && http_code != 403) {
builder.Append ("<p><strong>Stack Trace: </strong></p>");
builder.Append ("<table summary=\"Stack Trace\" class=\"sampleCode\">\r\n<tr><td>");
WriteTextAsCode (builder, baseEx.ToString ());