[Mono-bugs] [Bug 550103] New: Different meaning of "~" in System.Web.HttpContext.RewritePath in 2.4 compared to 2.0
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Oct 26 10:58:48 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=550103
Summary: Different meaning of "~" in
System.Web.HttpContext.RewritePath in 2.4 compared to
2.0
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: x86
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: max.karavaev at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3)
Gecko/20090909 SUSE/3.5.3-3.1 Firefox/3.5.3
In 2.0
Reproducible: Always
Steps to Reproduce:
1. In Global.asax in BeginRequest {
Context.RewritePath("~/realfolder/realfile.aspx"); }
2. Running on 2.0 - any URL opens in /realfolder/realfile.aspx
3. Running on 2.4 - any URL exept in root folder cause 404 error (on URL
/test/test.aspx system try to open /test/realfolder/realfile.aspx
4. In Global.asax in BeginRequest {
Context.RewritePath("/realfolder/realfile.aspx"); }
5. Running on 2.0 - any URL cause 404 error
6. Running on 2.4 - any URL works just fine
Actual Results:
Described in "Steps to reproduce"
Expected Results:
It seems like mono 2.0 works like MS .Net in this case, but I'm not sure.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list