https://bugzilla.novell.com/show_bug.cgi?id=372840
Summary: System.UriBuilder and System.Net.WebRequest don't handle
zone id part of URIs correctly
Product: Mono: Class Libraries
Version: 1.2.6
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Major
Priority: P5 - None
Component: System
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Hi,
System.UriBuilder and System.Net.WebRequest don't handle zone id part of URIs
correctly.
When creating an URI with System.UriBuilder where the host string is something
like "XXXX::XXXX:XXXX:XXXX:XXXX%Y" (note the %Y!) ToString() will double-escape
the % to %25 which makes the resulting completely invalid.
Then System.Net.WebRequest.Create() with an URI that contains a IPv6 address
and zone id part simply won't work, even if the operation system itself
supports it.
Good news is, that at least IPAddress.ToString() correctly outputs the zone id
:)
To read everything about zone ids:
http://tools.ietf.org/html/rfc4007#section-11.2
--
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs