[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:35:20 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 gonzalo at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77539
--- shadow/77539 2006-02-13 16:27:04.000000000 -0500
+++ shadow/77539.tmp.3411 2006-02-13 16:35:20.000000000 -0500
@@ -103,6 +103,15 @@
internal static bool IsRelativeUrl (string path)
{
return (path [0] != '/' && path.IndexOf (':')
== -1);
}
+
+------- Additional Comments From gonzalo at ximian.com 2006-02-13 16:35 -------
+How about changing this:
+if (relativeUrl [0] == '#' || UrlUtils.IsRelativeUrl (relativeUrl))
+
+into:
+if (relativeUrl [0] != '~' && (relativeUrl [0] == '#' ||
+UrlUtils.IsRelativeUrl (relativeUrl)))
+
More information about the mono-bugs
mailing list