[Mono-bugs] [Bug 681548] New: HttpListenerRequest.Url.OriginalString in mono mismatches .Net version
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Mar 22 08:01:20 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=681548
https://bugzilla.novell.com/show_bug.cgi?id=681548#c0
Summary: HttpListenerRequest.Url.OriginalString in mono
mismatches .Net version
Classification: Mono
Product: Mono: Class Libraries
Version: 2.10.x
Platform: x86
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: mikael at wikman.me
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15)
Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15
Using HttpListener and accepting an incoming request which uses formatting such
as %3A for ":" and %2F for "/" the mono version of
HttpListenerRequest.Url.OriginalString will return the path as-sent (also equal
to the HttpListenerRequest.RawUrl property). But this behaviour is not the same
as the .Net 3.5 one, where the OriginalString will be unescaped.
Reproducible: Always
Steps to Reproduce:
1. Start a HttpListener on any port, listening on port 1234
2. Issue a request http://localhost:1234/some%3Avar1%2Fvar2/data
3. Having the context of the operation, look at
context.Request.Url.OriginalString
Actual Results:
On Mono I get:
/some%3Avar1%2Fvar2/data
On .Net 3.5 I get:
/some:var1/var2/data
Expected Results:
/some:var1/var2/data
--
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.
More information about the mono-bugs
mailing list