[Mono-bugs] [Bug 76144][Maj] New - HttpContext.Current.Request.Url.Host reports IP address instead of domain hostname

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 19 00:42:04 EDT 2005


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 junk at coolest.com.

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

--- shadow/76144	2005-09-19 00:42:04.000000000 -0400
+++ shadow/76144.tmp.891	2005-09-19 00:42:04.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 76144
+Product: Mono: Tools
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Linux 2.6.10-1.770_FC2 #1 Sat Feb 26 21:40:22 EST 2005 i686 athlon i386 GNU/Linux
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: XSP
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: junk at coolest.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: HttpContext.Current.Request.Url.Host reports IP address instead of domain hostname
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+/opt/mono-1.1.9/bin/mono /opt/mono-1.1.9/lib/xsp/1.0/xsp.exe --nonstop
+--verbose --root /home/some/web --address 5.5.5.5 --port 9595
+--applications www.some.com:9595:/MyApp:/home/some/web/MyApp
+
+Steps to reproduce the problem:
+Make aspx to output request Host... test.aspx
+<% HttpRequest request = HttpContext.Current.Request; %>
+<%= request.Url.AbsoluteUri %>
+<%= request.Url.Host %>
+Access aspx through browser with hostname:
+http://www.some.com:9595/MyApp/test.aspx
+
+Actual Results:
+Outputs:
+5.5.5.5:9595/MyApp/test.aspx 5.5.5.5
+
+Expected Results:
+www.some.com:9595/MyApp/test.aspx www.some.com
+
+How often does this happen? 
+Always
+
+Additional Information:


More information about the mono-bugs mailing list