https://bugzilla.novell.com/show_bug.cgi?id=371581
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=371581#c20 Philippe Leybaert <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] --- Comment #20 from Philippe Leybaert <[EMAIL PROTECTED]> 2008-08-30 15:35:12 MDT --- It seems that when your application is in a virtual folder, and you use RewritePath(), subsequent calls to the some properties of HttpRequest return the wrong result. For example: Application virtual path = /demo/ Original URL: http://localhost/demo/testcase1.aspx 1. HttpContext.FilePath returns: "/demo/testcase1.aspx" (ok) 2. HttpContext.AppRelativeCurrentExecutionFilePath returns: "~/testcase1.aspx" (ok) 3. Then call HttpContext.RewritePath("http://localhost/demo/testcase2.aspx") 4. HttpContext.FilePath returns: "/demo/demo/testcase2.aspx" (should be "/demo/testcase2.aspx") 5. HttpContext.AppRelativeCurrentExecutionFilePath returns: "~/demo/testcase2.aspx" (should be "~/testcase2.aspx") -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
