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

2006-05-10 Thread Gonzalo Paniagua Javier
On Wed, 2006-05-10 at 01:59 -0700, Vladimir Krasnov wrote: > Hi Gonzalo, > > You've merged my patch that contained fixes for 3 overloads of DecodeUrl > but in the first one (UrlDecode (string, Encoding)) you've merged not > exactly what I meant. You've used TryParseHexa function that throws > exce

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

2006-05-10 Thread Vladimir Krasnov
esday, April 11, 2006 1:13 AM To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Bug in System.WebHttpUtility.UrlDecode 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

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

2006-04-10 Thread Gonzalo Paniagua Javier
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 resul

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

2006-03-27 Thread Vladimir Krasnov
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 tha