2009-10-07 Gonzalo Paniagua Javier * StaticFileHandler.cs: it's the last flush even when a VPP is used. 2009-10-07 Marek Habersack * TraceData.cs: make long execution times stand out. 2009-09-29 Miguel de Icaza * HttpUtility.cs: Do not use CAS Attributes when using MonoTouch. Remove unnecesasry using clause. 2009-09-29 Marek Habersack * HttpResponse.cs: use full url in redirect if UseFullyQualifiedRedirectUrl is set to true in httpRuntime configuration section. Patch from Brett Kiefer , thanks! Fixes bug #542846 2009-09-28 Marek Habersack * HttpContext.cs: GetResourceProvider - renamed the 'key' argument to 'virtualPath' in order to reflects its purpose better. Local resource providers are created for the passed virtualPath and not for the current request's path. Fixes bug #542484 2009-09-25 Marek Habersack * StaticSiteMapProvider.cs: MapUrl must normalize paths. Fixes bug #541969 * XmlSiteMapProvider.cs: siteMapFile parameter must be mapped in Initialize. Fixes bug #541969 2009-09-24 Marek Habersack * XmlSiteMapProvider.cs: added "securityTrimmingEnabled" to the list of supported attributes in Initialize. Fixes bug #541607 2009-09-07 Marek Habersack * HttpContext.cs: when creating local resource provider, pass the current file's virtual path to CreateLocalResourceProvider. Fixes bug #536757 * XmlSiteMapProvider.cs: do not allow the provider to be intialized more than once. Initialize throws if it finds unknown attributes in the 'attributes' collection. AddNode checks its arguments and throws if they are null or aren't from the same provider. FindStartingNode throws exceptions in several erroneous situations now. Added private method GetConfigDocument which performs several checks on the source .sitemap file and throws exceptions if it finds any errors. BuildSiteMap clears provider state before building the map. BuildSiteMapRecursive correctly deals with custom providers. Fixes bug #465696 FindSiteMapNode maps url before searching. Fixes bug #465696 * VirtualPathUtility.cs: Combine a bit more efficient * StaticSiteMapProvider.cs: FindSiteMap node checks if rawUrl is relative to application root and if yes, makes it absolute. MapUrl converts both rooted and not rooted urls to absolute. * SiteMapProvider.cs: check if HttpContext.Request exists before using it in FindSiteMapnode * SiteMap.cs: Providers collection must be read-only. 2009-09-04 Marek Habersack * HttpRuntime.cs: retrieve real Mono version from the runtime and store it in the MonoVersion internal static property. * HttpException.cs: report real Mono version when backtrace is displayed. 2009-08-24 Marek Habersack * VirtualPath.cs: Added new constructor which takes virtual and physical paths as well as a boolean marking the instance as referring to a fake location. Part of fix for bug #463813 2009-07-28 Gonzalo Paniagua Javier * HttpApplicationFactory.cs: allow subclasses of EventHandler for event handlers in global.asax. Fixes bug #525743. 2009-07-23 Marek Habersack * HttpException.cs: if an exception is processed which refers to internal "files", don't show the internal name. 2009-07-18 Marek Habersack * HttpContext.cs: GetGlobalResourceObject must look for resources in the 'Resources' "namespace" - it was a regression from the previous change to that method. 2009-07-15 Marek Habersack * HttpApplicationFactory.cs: added internal methods to enable/disable specific watchers. Part of fix for bug #522017 2009-07-14 Gonzalo Paniagua Javier * ApplicationShutdownReason.cs: add new 3.5 value. * ParserErrorCollection.cs: add setter for ParserError. Patch from Daniel Gagne. 2009-07-14 Marek Habersack * HttpApplicationFactory.cs: OnFileChanged doesn't reload application if reload suppression is active. 2009-07-13 Marek Habersack * HttpApplication.cs: LoadType - wrap call to LoadTypeFromBin in try/catch so that we can decide whether or not to throw exceptions. LoadTypeFromBin - ignore the FileLoadException and BadImageException exceptions as they don't matter in this context. 2009-07-13 Gert Driesen * HttpResponseStream.cs: Added argument checks to Write. Modified methods/properties that requires a readable stream to throw NotSupportedException instead of InvalidOperationException for compatibility with MS. 2009-07-09 Gonzalo Paniagua Javier * HttpApplication.cs: use GetSection instead of OpenWebConfiguration+GetSection. 2009-07-09 Marek Habersack * HttpContext.cs: fall back to default resource provider factory if the factory provided by user doesn't have the required object in Get{Global,Local}ResourceObject. Fixes bug #520397 Refactored the GetResourceObject method and the ResourceManagerCacheKey class to DefaultResourceProvider. 2009-07-07 Gonzalo Paniagua Javier * ParserError.cs: add 3 missing setters. Patch from Daniel Gagne. 2009-06-15 Marek Habersack * HttpCachePolicy.cs: SetHeaders adds max-age when MaxAge is set to TimeSpan.Zero by calling SetMaxAge. Fixes bug #513000 2009-06-05 Marek Habersack * VirtualPathUtility.cs: IsValidVirtualPath no longer uses WebConfigurationManager.GetSection to retrieve the verification setting. Instead, the setting is retrieved in the static constructor. * HttpRequest.cs: ApplyUrlMapping must not use WebConfigurationManager.GetSection as it would cause a recursive call loop. Code to detect whether url mappings are in effect has been moved to a static constructor. 2009-06-04 Marek Habersack * HttpResponse.cs: version header configuration is read lazily now. * 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 2009-06-03 Marek Habersack * VirtualPathUtility.cs: IsValidVirtualPath now checks the value of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\VerificationCompatibility registry key when running on Windows and also consults the mono-specific system.web/monoSettings configuration section to see what is the verificationCompatibility property set to. If either of the two is set to 1, Mono will not verify the validity of the current request's path. Fixes bug #509163 * HttpApplicationFactory.cs: OnFileChanged must check whether the modified location is a directory before it decides to ignore it when watcher's filter is "?eb.?config". Fixes bug #509450 (see also bug #495011) * HttpForbiddenHandler.cs: updated the error message to match .NET, added requested path and description. Fixes bug #509092 * HttpException.cs: if trace is not requested, don't output