2010-01-09 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Sat, 9 Jan 2010 00:29:25 +0000 (00:29 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Sat, 9 Jan 2010 00:29:25 +0000 (00:29 -0000)
commit692b3e376b2993b0ea0f9a87692ca221dacc47c4
tree0e7c66687a7418b56996f212e58fc9ad1b68e394
parent9f00a476d27bcb0baae27d06d53565089c5f3671
2010-01-09  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationManager.cs: GetSection properly handles looking
up and caching of <location> instances. Part of fix for bug
#568441

* WebConfigurationHost.cs: GetConfigPathFromLocationSubPath
calculatesthe path relative to the current config file path. Part
of fix for bug #568441

2010-01-09  Marek Habersack  <mhabersack@novell.com>

* VirtualPathUtility.cs: small optimizations for GetDirectory

2010-01-09  Marek Habersack  <mhabersack@novell.com>

* ConfigurationLocation.cs: trailing / characters are removed from
the path.

* Configuration.cs: instances created for locations inherit
ConfigPath from their containing document.
Host.GetConfigPathFromLocationSubPath must be called with current
instance's configPath, not LocationConfigPath.
Locations are sought for using paths relative to the current
instance's configPath, not to the root path.
All of the above is part of fix for bug #568441

svn path=/trunk/mcs/; revision=149262
mcs/class/System.Configuration/System.Configuration/ChangeLog
mcs/class/System.Configuration/System.Configuration/Configuration.cs
mcs/class/System.Configuration/System.Configuration/ConfigurationLocation.cs
mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationHost.cs
mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs
mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/VirtualPathUtility.cs