mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* System.Web.dll.sources: added CustomErrorsConfigHandler.cs * System.Web/HttpContext.cs: implemented IsCustomErrorEnabled and IsDebuggingEnabled. Added internal ErrorPage property. * System.Web/HttpRuntime.cs: on error, check if we have a custom error page enabled to handle it and redirect. * System.Web/HttpResponse.cs: added RedirectCustomError (), which actually does the redirection to the error page. * System.Web.Compilation/PageCompiler.cs: assign the ErrorPage property if provided. * System.Web.UI/Page.cs: assign the ErrorPage to the context if we get an exception when processing the page which only calls Unload. * System.Web.UI/PageParser.cs: handle ErrorPage. * System.Web.Configuration/CustomErrorsConfigHandler.cs: handle <system.web><customErrors />.. Closes bug #51979. svn path=/trunk/mcs/; revision=21286