Author: gonzalo
Date: 2006-08-04 20:08:58 -0400 (Fri, 04 Aug 2006)
New Revision: 63384
Modified:
trunk/mcs/class/System.Web/System.Web/ChangeLog
trunk/mcs/class/System.Web/System.Web/HttpApplication.cs
Log:
2006-08-04 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* HttpApplication.cs: don't leak local path names when a file is not
found.
Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog 2006-08-05 00:00:52 UTC
(rev 63383)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog 2006-08-05 00:08:58 UTC
(rev 63384)
@@ -1,3 +1,8 @@
+2006-08-04 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+ * HttpApplication.cs: don't leak local path names when a file is not
+ found.
+
2006-06-21 Konstantin Triger <[EMAIL PROTECTED]>
* XmlSiteMapProvider.cs: if the url is relative, make it relative to the
@@ -5,8 +10,8 @@
2006-06-07 Juraj Skripsky <[EMAIL PROTECTED]>
- * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
- page by showing multiple errors on separate lines.
+ * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
+ page by showing multiple errors on separate lines.
2006-06-05 Juraj Skripsky <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/System.Web/System.Web/HttpApplication.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpApplication.cs 2006-08-05
00:00:52 UTC (rev 63383)
+++ trunk/mcs/class/System.Web/System.Web/HttpApplication.cs 2006-08-05
00:08:58 UTC (rev 63384)
@@ -868,7 +868,7 @@
if (context.Request.IsLocal)
ProcessError (new HttpException (404,
String.Format ("File not found {0}", fnf.FileName), fnf));
else
- ProcessError (new HttpException (404,
"File not found", fnf));
+ ProcessError (new HttpException (404,
"File not found: " + Path.GetFileName (fnf.FileName)));
} catch (DirectoryNotFoundException dnf){
ProcessError (new HttpException (404,
"Directory not found", dnf));
} catch (Exception e) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches