[Mono-bugs] [Bug 75950][Nor] Changed - Assembly.CodeBase should not
return the escaped code base
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Dec 9 09:36:34 EST 2005
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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75950
--- shadow/75950 2005-12-06 12:05:11.000000000 -0500
+++ shadow/75950.tmp.21995 2005-12-09 09:36:33.000000000 -0500
@@ -1,12 +1,12 @@
Bug#: 75950
Product: Mono: Class Libraries
Version: 1.1
OS: GNU/Linux [Other]
OS Details:
-Status: NEW
+Status: ASSIGNED
Resolution:
Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: sebastien at ximian.com
ReportedBy: mono at kinitos.com
@@ -61,6 +61,21 @@
------- Additional Comments From sebastien at ximian.com 2005-12-06 10:23 -------
what's the format of the attachement ?
------- Additional Comments From kornelpal at hotmail.com 2005-12-06 12:05 -------
AssemblyCodeBase.tar.bz2
+
+------- Additional Comments From sebastien at ximian.com 2005-12-09 09:36 -------
+The internal call get_code_base
+(ves_icall_System_Reflection_Assembly_get_code_base in icall.c) calls...
+
+ absolute = g_build_filename (mass->basedir, mass->image->module_name,
+NULL);
+ uri = g_filename_to_uri (absolute, NULL, NULL);
+
+which already return an escaped uri (see
+http://mail.gnome.org/archives/gtk-devel-list/2004-April/msg00148.html
+for some details).
+
+So we can either change the icall to escape, or not, the code base.
+Or keep the icall intact and unescape the code base in managed code.
More information about the mono-bugs
mailing list