[Mono-bugs] [Bug 426539] New: [PATCH] HttpServerUtility.Url{Encode, Decode} ignores encoding of Request/Response

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 16 05:28:08 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=426539


           Summary: [PATCH] HttpServerUtility.Url{Encode,Decode} ignores
                    encoding of Request/Response
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: juraj at hotfeet.ch
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=239779)
 --> (https://bugzilla.novell.com/attachment.cgi?id=239779)
test case - minimal webapp

Recipe:
=======

- extract webapp
- xsp2 in webapp dir
- request http://localhost:8080

Actual output:
==============
%c3%bc
%c3%bc
%c3%bc
%c3%bc

Files text1.txt and test2.txt contain "%c3%bc" as well.

Expected output:
================
%c3%bc
%fc
%c3%bc
%fc

Files text1.txt and test2.txt contain "%fc".


Notes:
======
- HttpServerUtility.UrlEncode uses response encoding
- HttpServerUtility.UrlDecode uses request encoding (verified by changing only
requestEncoding in web.config)
- both HttpServerUtility.Url{Encode,Decode} ignore the encoding of a given
TextWriter


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list