Author: spouliot
Date: 2005-03-16 08:11:54 -0500 (Wed, 16 Mar 2005)
New Revision: 41895

Modified:
   trunk/mcs/class/corlib/System.Reflection/Assembly.cs
   trunk/mcs/class/corlib/System.Reflection/ChangeLog
Log:
2005-03-16  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * Assembly.cs: Implemented EscapedCodeBase using the copy of 
        System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.



Modified: trunk/mcs/class/corlib/System.Reflection/Assembly.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/Assembly.cs        2005-03-16 
12:56:33 UTC (rev 41894)
+++ trunk/mcs/class/corlib/System.Reflection/Assembly.cs        2005-03-16 
13:11:54 UTC (rev 41895)
@@ -40,6 +40,8 @@
 using System.Collections;
 using System.Configuration.Assemblies;
 
+using Mono.Security;
+
 namespace System.Reflection {
 
        [Serializable]
@@ -103,11 +105,9 @@
                        }
                } 
 
-               [MonoTODO]
                public virtual string EscapedCodeBase {
                        get {
-                               //FIXME: escape characters -> Uri
-                               return get_code_base ();
+                               return Uri.EscapeString (get_code_base (), 
false, true, true);
                        }
                }
 

Modified: trunk/mcs/class/corlib/System.Reflection/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Reflection/ChangeLog  2005-03-16 12:56:33 UTC 
(rev 41894)
+++ trunk/mcs/class/corlib/System.Reflection/ChangeLog  2005-03-16 13:11:54 UTC 
(rev 41895)
@@ -1,3 +1,8 @@
+2005-03-16  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * Assembly.cs: Implemented EscapedCodeBase using the copy of 
+       System.Uri (System.dll) located in Mono.Security.Uri. Fix bug #73663.
+
 2005-03-11  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * MonoMethod.cs: Promote a LinkDemand (if present) to a full Demand 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to