[Mono-devel-list] [PATCH] Escape characters are not treated correctly when creating URI from string

Atsushi Eno atsushi at ximian.com
Mon Jan 12 01:45:25 EST 2004


Hello,

Thanks for the patch. It looks fine and I just applied.

BTW, I thinks this class should be more stable, especially enough to 
reject incorrect Uri strings. I would like to thank to any volunteers 
who fix or renew this class. This whould be one of the good introduction 
to start mono hacking.

Thanks,
Atsushi Eno

Boris Kirzner wrote:
> Hello
> 
> Escape characters are not threated in the right way when creating new 
> Uri from string.
> 
> Reference : RFC2396 part  2.4 (subsection 2.4.2).
> 
> Steps to reproduce the problem :
> 1. Create new Uri from string that already contains escape characters 
> (for example "C:\\tmp\\a%20a\\");
> 2. Inspect  AbsoluteUri property of Uri created.
> 
> Actual result :
> "C:\\tmp\\a%2520a\\"
> 
> Expected result :
> "C:\\tmp\\a%20a\\"
> 
> Enclosed is a small test case and a patch.
> 
> Thank you in advance,
> 
> Boris Kirzner




More information about the Mono-devel-list mailing list