Making simple web app work with Grasshopper from svn.
authorEyal Alalouf <eyala@mainsoft.com>
Sun, 24 Jul 2005 16:39:28 +0000 (16:39 -0000)
committerEyal Alalouf <eyala@mainsoft.com>
Sun, 24 Jul 2005 16:39:28 +0000 (16:39 -0000)
svn path=/trunk/mcs/; revision=47611

mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/HttpRequest.cs

index 87a2df9005d2133079f178e52bfe006cc00f07fe..cfffdb16905e0e394db2e39277ae24525dc8bb9c 100644 (file)
@@ -1,3 +1,6 @@
+2005-07-24  Eyal Alalouf  <eyala@mainsoft.com>
+       * HttpRequest.cs: Removed GhFilePath property from TARGET_J2EE.
+
 2005-07-19  Eyal Alalouf  <eyala@mainsoft.com>
        * CapabilitiesLoader.cs: Indentation fixes in TARGET_J2EE specific code.
 
index 22425a67006b996ba7e69dc29b5af9ce78827fe4..97293adafa80fc41663276f04c28e4ab81afecb2 100644 (file)
@@ -103,9 +103,6 @@ namespace System.Web {
                bool checkedQueryString;
 #endif
 
-#if TARGET_J2EE
-               private string _sGhFilePath;
-#endif
                public HttpRequest(string Filename, string Url, string Querystring) {
                        _iContentLength = -1;
                        _iTotalBytes = -1;
@@ -584,25 +581,6 @@ namespace System.Web {
                        }
                }
 
-#if TARGET_J2EE
-               internal string GhFilePath {
-                       get {
-                               if (null == _sGhFilePath) {
-                                       _sGhFilePath = FilePath;
-                                       if (_sGhFilePath == null)
-                                               return null;
-
-                                       if (_sGhFilePath.StartsWith(IAppDomainConfig.WAR_ROOT_SYMBOL))
-                                               _sGhFilePath = _sGhFilePath.Substring(IAppDomainConfig.WAR_ROOT_SYMBOL.Length);
-                                       if (_sGhFilePath.StartsWith(HttpRuntime.AppDomainAppVirtualPath))
-                                               _sGhFilePath = _sGhFilePath.Substring(HttpRuntime.AppDomainAppVirtualPath.Length);
-                               }
-
-                               return _sGhFilePath;
-                       }
-               }
-#endif
-
                HttpFileCollection files;
                public HttpFileCollection Files {
                        get {