2009-06-05 Marek Habersack <mhabersack@novell.com>
* 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-05 Marek Habersack <mhabersack@novell.com>
* Page.cs: InitializeTheme uses WebConfigurationManager.GetSection
to retrieve page theme name. GetWebApplicationSection cannot be
used because the system.web/pages section is valid also in
subdirectories. Fixes bug #510302
2009-06-05 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: OpenWebConfiguration caches
configurations with a key generated from all the parameters passed
to it, not just from path.
Added internal GetSection method which takes HttpContext as its
third parameter - used in calling OpenWebConfiguration.
FindWebConfig is no longer used in GetSection - it breaks handling
of <location> elements in config files. Fixes bug #510302
svn path=/trunk/mcs/; revision=135558