svn path=/trunk/mcs/; revision=73180
+2007-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+ * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
+ war root symbol
+
2007-02-19 Marek Habersack <grendello@gmail.com>
* HttpContext.cs: Make sure all the global resource objects are
2007-02-19 Marek Habersack <grendello@gmail.com>
* HttpContext.cs: Make sure all the global resource objects are
throw new ArgumentNullException (
String.Format ("MapPath: Invalid path '{0}', only virtual paths are accepted", virtualPath));
throw new ArgumentNullException (
String.Format ("MapPath: Invalid path '{0}', only virtual paths are accepted", virtualPath));
-#if TARGET_J2EE
- if (virtualPath.StartsWith(vmw.common.IAppDomainConfig.WAR_ROOT_SYMBOL))
- return virtualPath;
-#endif
string appVirtualPath = HttpRuntime.AppDomainAppVirtualPath;
if (baseVirtualDir == null)
baseVirtualDir = appVirtualPath;
string appVirtualPath = HttpRuntime.AppDomainAppVirtualPath;
if (baseVirtualDir == null)
baseVirtualDir = appVirtualPath;