https://bugzilla.novell.com/show_bug.cgi?id=654476

https://bugzilla.novell.com/show_bug.cgi?id=654476#c0


           Summary: HttpRuntime::Validate incorrectly thinks ',' is an
                    invalid char
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


HttpRuntime::Validate uses the HttpRuntimeSection::RequestPathInvalidCharacters
property to get a list of invalid chars.  This is a comma separated list of
chars. However Validate does not treat the list as a comma separated list, it
thinks its just a list of invalid chars so it incorrectly checks like this:

path.IndexOfAny (invalidChars)

probably the best thing to do is split the RequestPathInvalidCharacters
property on the ',' char and set invalidChars from that.  I'm not sure what
should happen if someone wants , to be an invalid char.

-- 
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

Reply via email to