[Mono-bugs] [Bug 325863] New: URI detects relative paths as absolute

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 17 19:04:58 EDT 2007


           Summary: URI detects relative paths as absolute
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: i686
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: sontek at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---

Created an attachment (id=172906)
 --> (https://bugzilla.novell.com/attachment.cgi?id=172906)
This sets a check for UriKind.Relative in Uri

Right now unix paths are being accepted as a valid absolute path, but in ms.net
the path "/test.aspx"  is relative

Theres no real way to differentiate between the web relative path and a unix
path so I suggest we do a check,

if UriKind.Relative is passed in the constructor overload, allow /test.aspx as
relative, otherwise consider it absolute.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list