[Mono-bugs] [Bug 76187][Wis] New - Trailing slash missing from AppDomainAppPath

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 22 05:35:34 EDT 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ximian_bugzilla at davekelly.me.uk.


--- shadow/76187	2005-09-22 05:35:34.000000000 -0400
+++ shadow/76187.tmp.31669	2005-09-22 05:35:34.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 76187
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: Fedora Core 3
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: ximian_bugzilla at davekelly.me.uk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Trailing slash missing from AppDomainAppPath
+Description of Problem:
+When I try to read files in the root of my web project using
+AppDomainAppPath I get FileNotFound Exceptions. For a given file name I
+concatenate the two and try to open the file. AppDomainAppPath now seems to
+have the trailing slash removed giving a file path of "c:/pathfilename"
+instead of "c:/path/filename". This worked just fine in mono 1.1.8 and
+still does on winxp IIS6 and MS .net 1.1/1.0.
+Steps to reproduce the problem:
+1. Create a c# web project with the following line:
+Response.Write("AppDomainAppPath: " +
+System.Web.HttpRuntime.AppDomainAppPath + "<br/>");
+Actual Results:
+On Fedora Core 3 with mono 1.1.9:
+"AppDomainAppPath: /var/www/html/apppath"
+Expected Results:
+On winxp IIS6 with MS .Net 1.1:
+"AppDomainAppPath: c:\inetpub\wwwroot\apppath\"
+How often does this happen?
+Additional Information:
+Althought the paths are very different they should both have a trailing slash.

More information about the mono-bugs mailing list