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

2006-05-10 Thread Vladimir Krasnov
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
exception if failed to parse hex number, this is what I wanted to avoid,
because this can a little slow down a performance of URL decoding. The
next two overloads are not using this function.

Did you have a special reason for this?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gonzalo
Paniagua Javier
Sent: Tuesday, 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 '%%' 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


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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
 exception if failed to parse hex number, this is what I wanted to avoid,
 because this can a little slow down a performance of URL decoding. The
 next two overloads are not using this function.
 
 Did you have a special reason for this?
 

Ooops, sorry about that. I just fixed it in svn HEAD.
Thanks.

-Gonzalo


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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 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


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list