[Mono-bugs] [Bug 51522][Nor] New - Server.MapPath returns different value to MS Runtime
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 30 Nov 2003 16:49:02 -0500 (EST)
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 pcgod@gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=51522
--- shadow/51522 2003-11-30 16:49:02.000000000 -0500
+++ shadow/51522.tmp.5269 2003-11-30 16:49:02.000000000 -0500
@@ -0,0 +1,37 @@
+Bug#: 51522
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: pcgod@gmx.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Server.MapPath returns different value to MS Runtime
+
+Description of Problem:
+With MS Runtime and IIS it returns /applicationroot/subdir/test.aspx. With
+Mono it returns /applicationroot/test.aspx (without the subdir in which
+the file is).
+
+Steps to reproduce the problem:
+<% @Page Language="C#" %>
+<script language="C#" runat="server">
+ public void Page_Load(Object sender, EventArgs e) {
+ Response.Write(Server.MapPath("test.aspx"));
+ }
+</script>
+
+Put this file in a subdirectory of the application root folder otherwise
+the results are the same.
+
+
+How often does this happen?
+Always