[Mono-bugs] [Bug 506734] System.Uri removes a slash and MS.NET does not

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 9 20:08:29 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=506734#c2


Jonas Finnemann Jensen <opensuse at jopsen.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |opensuse at jopsen.dk

--- Comment #2 from Jonas Finnemann Jensen <opensuse at jopsen.dk> 2010-08-10 00:08:28 UTC ---
This courses bugs in TheLastRipper as well:
http://code.google.com/p/thelastripper/issues/detail?id=211
https://bugs.launchpad.net/ubuntu/+source/thelastripper/+bug/584215

My test case is:
Uri u = new Uri("http://a.little-really-an.no/ing//bug.htm");
Console.WriteLine(u.ToString());

Which gives:
http://a.little-really-an.no/ing/bug.htm
but should give:
http://a.little-really-an.no/ing//bug.htm

A patch against mono 2.6.4 is provided by mcmanuel4 here:
http://code.google.com/p/thelastripper/issues/detail?id=211#c6

Hope you can fix this fast, it's a really nasty bug... And the only
workaround involves implementing HTTP from scratch, which would be
really boring... And since last.fm suddenly decided to use slashes in
the middle of their urls, my app is currently broken.

By the way, if anybody has an idea for a temporary workaround I like to hear
it...

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