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: [email protected] ReportedBy: [email protected] QAContact: [email protected] 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
