[Mono-dev] Bug in System.WebHttpUtility.UrlDecode

Gonzalo Paniagua Javier gonzalo at ximian.com
Mon Apr 10 18:13:12 EDT 2006


On Mon, 2006-03-27 at 01:56 -0800, Vladimir Krasnov wrote:
> 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

Hi Vladimir.

I just merged in the stuff from your patch that wasn't fixed yet after
the changes in the last 2 weeks.

Thanks.

-Gonzalo





More information about the Mono-devel-list mailing list