[Mono-dev] Bug in System.WebHttpUtility.UrlDecode
Vladimir Krasnov
vladimirk at mainsoft.com
Mon Mar 27 04:56:23 EST 2006
Hello,
There is a bug in UrlDecode method in System.WebHttpUtility, when two
precent chars '%%' are present in encoded Url, UrlDecode fails to
decode. Also, when the % char follows characters that are not hex
numbers, the result of UrlDecode is wrong.
Look at attached test cases and the patch that fixes this bug.
If no one objects I will commit
Vladimir Krasnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpUtility.cs.patch
Type: application/octet-stream
Size: 3677 bytes
Desc: HttpUtility.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060327/3a156f9d/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpUtilityTest.cs.patch
Type: application/octet-stream
Size: 5731 bytes
Desc: HttpUtilityTest.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060327/3a156f9d/attachment-0001.obj
More information about the Mono-devel-list
mailing list