[Mono-bugs] [Bug 77539][Nor] Changed - [PATCH] Relative client paths

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 13 16:27:04 EST 2006


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 robertj at gmx.net.

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

--- shadow/77539	2006-02-13 15:53:34.000000000 -0500
+++ shadow/77539.tmp.3292	2006-02-13 16:27:04.000000000 -0500
@@ -92,6 +92,17 @@
 Could you try if the next patch works for you?
 
 ------- Additional Comments From gonzalo at ximian.com  2006-02-13 15:53 -------
 Created an attachment (id=16485)
 Proposed patch
 
+
+------- Additional Comments From robertj at gmx.net  2006-02-13 16:27 -------
+It doesn't work because it breaks ResolveUrl("~/foo").
+UrlUtils.IsRelativeUrl is quite limited:
+
+                internal static bool IsRelativeUrl (string path)
+                {
+                        return (path [0] != '/' && path.IndexOf (':')
+== -1);
+                }
+


More information about the mono-bugs mailing list