diff options
-rw-r--r-- | mcs/class/System.Web/System.Web.UI/ChangeLog | 6 | ||||
-rw-r--r-- | mcs/class/System.Web/System.Web.UI/Control.cs | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web.UI/ChangeLog b/mcs/class/System.Web/System.Web.UI/ChangeLog index f3f919e0911..43cdf8b2873 100644 --- a/mcs/class/System.Web/System.Web.UI/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI/ChangeLog @@ -1,3 +1,9 @@ +2004-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * Control.cs: + (ResolveUrl): fixed typo when dealing with relative urls. Closes bug + #59794. + 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com> * SimpleWebHandlerParser.cs: diff --git a/mcs/class/System.Web/System.Web.UI/Control.cs b/mcs/class/System.Web/System.Web.UI/Control.cs index bff733e0950..6771c00d875 100644 --- a/mcs/class/System.Web/System.Web.UI/Control.cs +++ b/mcs/class/System.Web/System.Web.UI/Control.cs @@ -766,7 +766,7 @@ namespace System.Web.UI return relativeUrl; string ts = TemplateSourceDirectory; - if (ts == "" || UrlUtils.IsRelativeUrl (relativeUrl) == false) + if (ts == "" || UrlUtils.IsRelativeUrl (relativeUrl)) return relativeUrl; HttpResponse resp = Context.Response; |