[Mono-dev] Patch for HttpRequest.cs

Juraj Skripsky js at hotfeet.ch
Mon May 8 06:22:28 EDT 2006


After running more tests, I've found out that on MS.NET the decoding in
HttpRequest.QueryString does _not_ depend on
HttpRequest.ContentEncoding. In fact, MS seems to be always using Latin1
here. All other standard encodings fail.

A revised patch is attached, including a NUnit test case. If no one
objects, I'll commit.

- Juraj

On Sat, 2006-05-06 at 13:47 -0400, Miguel de Icaza wrote:
> Hello Juraj,
> > The attached patch makes sure that the get-parameters in QueryString are
> > url-decoded using the proper encoding (when creating the
> > NameValueCollection).
> > 
> > May I commit?
> Could you provide NUnit tests for this case?
> Miguel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpRequest.patch
Type: text/x-patch
Size: 2625 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060508/aedd8c9b/attachment.bin 

More information about the Mono-devel-list mailing list