[Mono-bugs] [Bug 637386] New: Exception is thrown if URI is invalid

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 6 16:55:00 EDT 2010


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

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


           Summary: Exception is thrown if URI is invalid
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: WCF
        AssignedTo: atsushi at ximian.com
        ReportedBy: carlos at cmartin.tk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=387825)
 --> (http://bugzilla.novell.com/attachment.cgi?id=387825)
Don't fail on invalid URI

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4
(KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4

If a entry provides an invalid URI, the exception thrown is not caught and goes
all the way to the application using the library.

Reproducible: Always

Steps to Reproduce:
Load a feed with an invalid URI in any field that should have an URI
Actual Results:  
A System.UriFormatException is passed to the application.

Expected Results:  
Some default/empty URI should be returned instead.

If it's easier/more convenient, I have forked the repository on github and can
request a merge.

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