[Mono-bugs] [Bug 577815] New: WebClient.DownloadString with Uri as parameter does not send correct webrequest

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Feb 7 20:53:56 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=577815

http://bugzilla.novell.com/show_bug.cgi?id=577815#c0


           Summary: WebClient.DownloadString with Uri as parameter does
                    not send correct webrequest
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: 64bit
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: licho at ufo.cz
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Opera/9.80 (Windows NT 6.1; U; en) Presto/2.2.15
Version/10.10

var wc = new WebClient();
wc.DownloadString("http://testurl.com/?data=something with spaces");

works correctly.

But:

wc.DownloadString(new Uri("http://testurl.com/?data=something with spaces"));

sends incorrect request - its cut off at first space.

This is relatively recent problem in mono libraries.

Version of libs is:
Version: 2.4.2.3+dfsg-2


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

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