[Mono-bugs] [Bug 383652] New: HttpContext.RewritePath fails to not rewrite client path

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 25 03:16:13 EDT 2008


           Summary: HttpContext.RewritePath fails to not rewrite client path
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: ivan at chimerical.com.au
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Calling HttpContext.RewritePath Method (String, Boolean) and setting
rebaseClientPath to false has no effect.

Checking HttpContext.cs: void RewritePath (string filePath, string pathInfo,
string queryString, bool setClientFilePath)

The only effect of setting setClientFilePath to false is to not call
"Request.SetFilePath (filePath);" 

Which doesn't make sense, as 10 lines earlier we call "Request.SetFilePath
(filePath);" anyway.

This affects any tags with paths (links,img,etc), producing incorrect paths.

Configure bugmail: https://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