[Mono-bugs] [Bug 81950][Nor] New - Regression: Control.ResolveUrl doesn't handle '~' anymore

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jun 26 09:22:27 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 09:22:27.000000000 -0400
+++ shadow/81950.tmp.23600	2007-06-26 09:22:27.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 81950
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: FC6
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+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
+
+Calling ResolveUrl("~/test/blah.txt") returns "~/test/blah.txt" instead of
+"/test/blah.txt". Commit r79021 broke this.
+
+Try requesting following page:
+
+<html>
+<body>
+<%= ResolveUrl("~/test/blah.txt") %><br />
+<%= TemplateSourceDirectory %>
+</body>
+</html>
+
+The output used to be:
+/test/blah.txt
+/
+
+now it's (the second line is empty):
+~/test/blah.txt


More information about the mono-bugs mailing list