[Mono-bugs] [Bug 81950][Nor] Changed - Regression: Control.TemplateSourceDirectory must never return an empty string

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jun 26 13:05:16 EDT 2007


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 juraj at hotfeet.ch.

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

--- shadow/81950	2007-06-26 12:38:03.000000000 -0400
+++ shadow/81950.tmp.29956	2007-06-26 13:05:16.000000000 -0400
@@ -11,13 +11,13 @@
 AssignedTo: mhabersack at novell.com                            
 ReportedBy: juraj at hotfeet.ch               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Regression: Control.ResolveUrl doesn't handle '~' anymore
+Summary: Regression: Control.TemplateSourceDirectory must never return an empty string
 
 Calling ResolveUrl("~/test/blah.txt") returns "~/test/blah.txt" instead of
 "/test/blah.txt". Commit r79021 broke this.
 
 Try requesting following page:
 
@@ -66,6 +66,15 @@
 
 ------- Additional Comments From juraj at hotfeet.ch  2007-06-26 12:38 -------
 I've just checked the behaviour on MS.NET and the output is just like
 Mono old one:
 /test/blah.txt
 /
+
+------- Additional Comments From juraj at hotfeet.ch  2007-06-26 13:05 -------
+Ok, the issue with ResolveUrl is just an consequence of
+Control.TemplateSourceDirectory returning "" instead of "/". The
+following patch corrects that and hopefully is the right fix.
+
+May I commit?
+
+(The patch also removes an unnessesary "if(...) ...".)


More information about the mono-bugs mailing list