[Mono-bugs] [Bug 73316][Nor] New - Uri.HexUnescape doesn't return valid values

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 3 Mar 2005 20:57:06 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by joeshaw@novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=73316

--- shadow/73316	2005-03-03 20:57:06.000000000 -0500
+++ shadow/73316.tmp.786	2005-03-03 20:57:06.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 73316
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: joeshaw@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Uri.HexUnescape doesn't return valid values
+
+The Uri.HexUnescape function returns incorrect results in certain cases,
+and Uri.HexEscape cannot re-escape it correctly.
+
+I'm attaching a test program which shows this.  This is the output I get:
+
+escaped: '%F6'
+unescaped: '' (0) index: 3
+
+For the unescaped value, I should be getting '' (246).