Quellcode durchsuchen

2009-01-09 Marek Habersack <[email protected]>

	* WebConfigurationManager.cs: do not normalize the path in
	FindWebConfig when getting the virtual directory.

svn path=/trunk/mcs/; revision=122844
Marek Habersack vor 17 Jahren
Ursprung
Commit
2e5b6c6fee

+ 5 - 0
mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog

@@ -1,3 +1,8 @@
+2009-01-09  Marek Habersack  <[email protected]>
+
+	* WebConfigurationManager.cs: do not normalize the path in
+	FindWebConfig when getting the virtual directory.
+
 2009-01-08  Marek Habersack  <[email protected]>
 
 	* WebConfigurationManager.cs: improve performance of

+ 1 - 1
mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs

@@ -395,7 +395,7 @@ namespace System.Web.Configuration {
 			if (path [path.Length - 1] == '/')
 				dir = path;
 			else {
-				dir = VirtualPathUtility.GetDirectory (path);
+				dir = VirtualPathUtility.GetDirectory (path, false);
 				if (dir == null)
 					return path;
 			}