[Mono-bugs] [Bug 79280][Nor] New - [2.0] MapPath: Mapping across applications not allowed

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 4 18:38:50 EDT 2006


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 grendello at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79280

--- shadow/79280	2006-09-04 18:38:50.000000000 -0400
+++ shadow/79280.tmp.2781	2006-09-04 18:38:50.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 79280
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: grendello at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [2.0] MapPath: Mapping across applications not allowed
+
+The attached tarball contains the test site that triggers the bug. I don't
+think it's related to skmMenu since I have another site that does not use
+it and yet it triggers the bug as well (it uses custom dlls in the bin
+folder). It seems it's a combination of forms authentication, template
+parser and the contents of the bin/ folder that somehow triggers it. It is
+possible to avoid the error 500 by changing the line in TemplateParser.cs from
+
+   string realPath = MapPath (src, false);
+
+to
+
+   string realPath = MapPath (src, true);
+
+but then another exception is thrown further down the code by InternalInvoke.


More information about the mono-bugs mailing list