Marek Habersack
aef2ee73d1
2007-04-24 Marek Habersack <[email protected] >
...
* HttpRequest.cs: MS.NET throws HttpException for invalid paths,
not ArgumentNullException.
* HttpException.cs: wrap GetHtmlErrorMessage internals in
try/catch to capture possible exceptions in HttpContext.
* HttpContext.cs: IsCustomErrorEnabled is used from within
HttpException, make sure it gets the section in a safe way and
resorts to the default settings.
* HttpResponse.cs: HeaderEncoding is used in the same context as
above. Take the same precautions.
2007-04-24 Marek Habersack <[email protected] >
* WebConfigurationHost.cs: wrap MapPath calls in try/catch,
because bad URLs can cause it to throw exceptions. If such
exception is caught, throw a HttpException for Bad Request (400).
* WebConfigurationManager.cs: added two internal methods for safe
retrieval of config sections.
svn path=/trunk/mcs/; revision=76162
2007-04-24 06:54:27 +00:00
..
2006-11-28 22:15:23 +00:00
2005-11-24 04:53:26 +00:00
2005-12-06 20:54:30 +00:00
2005-11-24 23:57:13 +00:00
2006-11-28 22:15:23 +00:00
2007-04-05 11:43:27 +00:00
2006-04-27 16:48:53 +00:00
2006-11-28 22:15:23 +00:00
2005-11-14 17:38:54 +00:00
2006-11-28 22:15:23 +00:00
2005-11-24 04:53:26 +00:00
2006-02-10 23:43:09 +00:00
2006-03-23 20:18:05 +00:00
2007-04-24 06:54:27 +00:00
2005-11-24 04:53:26 +00:00
2007-01-16 12:36:20 +00:00
2007-01-16 12:36:20 +00:00
2006-02-01 21:51:09 +00:00
2005-12-06 20:54:30 +00:00
2006-11-28 22:15:23 +00:00
2006-02-10 23:43:09 +00:00
2007-02-22 16:54:03 +00:00
2005-12-04 23:34:24 +00:00
2006-12-27 16:32:50 +00:00
2007-04-06 14:33:48 +00:00
2005-11-12 15:12:14 +00:00
2005-12-05 00:50:52 +00:00
2006-11-28 22:15:23 +00:00
2007-02-07 14:25:09 +00:00
2006-04-11 15:14:14 +00:00
2006-11-28 22:15:23 +00:00
2005-11-24 04:53:26 +00:00
2005-11-26 03:23:26 +00:00
2006-02-01 21:51:09 +00:00
2006-12-22 00:49:52 +00:00
2005-11-24 04:53:26 +00:00
2005-11-24 03:07:02 +00:00
2007-03-22 16:49:15 +00:00
2006-02-01 21:31:03 +00:00
2005-11-13 17:07:15 +00:00
2007-04-19 15:45:49 +00:00
2006-02-01 21:51:09 +00:00
2005-11-28 20:25:48 +00:00
2007-02-04 17:23:07 +00:00
2006-11-28 22:15:23 +00:00
2006-11-28 22:15:23 +00:00
2005-11-24 04:53:26 +00:00
2006-11-28 22:15:23 +00:00
2007-04-05 11:08:54 +00:00
2006-11-28 22:15:23 +00:00
2005-11-24 03:07:02 +00:00
2005-11-24 04:53:26 +00:00
2006-06-26 04:22:29 +00:00
2007-02-04 17:23:07 +00:00
2005-11-26 03:24:07 +00:00
2006-06-26 04:22:29 +00:00
2005-12-05 00:50:52 +00:00
2005-12-05 00:50:52 +00:00
2005-11-12 15:12:14 +00:00
2005-11-24 04:53:26 +00:00
2007-04-06 10:29:38 +00:00
2006-11-28 22:15:23 +00:00
2007-04-17 01:49:12 +00:00
2006-11-05 14:15:01 +00:00
2006-11-05 14:15:01 +00:00
2006-12-20 18:41:52 +00:00
2005-11-26 03:23:26 +00:00
2006-11-05 14:15:01 +00:00
2007-01-04 12:10:20 +00:00
2005-12-05 00:50:52 +00:00
2005-12-05 00:50:52 +00:00
2006-06-26 04:22:29 +00:00
2007-03-12 11:28:02 +00:00
2006-11-28 22:15:23 +00:00
2007-02-04 17:23:07 +00:00
2006-11-05 14:15:01 +00:00
2006-01-09 22:17:11 +00:00
2005-12-05 00:50:52 +00:00
2006-01-09 22:17:11 +00:00
2005-11-24 04:53:26 +00:00
2006-11-28 22:15:23 +00:00
2006-03-08 18:21:02 +00:00
2006-11-28 22:15:23 +00:00
2005-12-05 00:50:52 +00:00
2006-11-28 22:15:23 +00:00
2005-11-12 15:12:14 +00:00
2006-08-08 16:48:57 +00:00
2006-12-21 22:00:50 +00:00
2006-12-21 22:00:50 +00:00
2007-02-05 07:27:28 +00:00
2006-11-28 22:15:23 +00:00
2006-01-09 22:17:11 +00:00
2005-11-24 04:53:26 +00:00
2005-11-14 17:38:54 +00:00
2005-12-05 00:50:52 +00:00
2006-02-01 21:51:09 +00:00
2005-11-24 04:53:26 +00:00
2006-11-28 22:15:23 +00:00
2006-11-28 22:15:23 +00:00
2006-01-09 22:17:11 +00:00
2007-04-24 06:54:27 +00:00
2007-04-24 06:54:27 +00:00
2005-11-14 17:38:54 +00:00
2005-11-26 03:23:26 +00:00
2005-11-24 04:53:26 +00:00
2005-11-24 04:53:26 +00:00
2005-11-26 03:23:26 +00:00
2005-11-24 04:54:40 +00:00