[Mono-bugs] [Bug 76188][Wis] New - Request.Url.Host reports IP address not Host name

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 22 05:57:44 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 ximian_bugzilla at davekelly.me.uk.


--- shadow/76188	2005-09-22 05:57:44.000000000 -0400
+++ shadow/76188.tmp.32152	2005-09-22 05:57:44.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 76188
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: Fedora Core 3
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: ximian_bugzilla at davekelly.me.uk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Request.Url.Host reports IP address not Host name
+Description of Problem:
+Request.Url.Host reports IP address not Host name. Worked in mono 1.1.8 but
+not in 1.1.9. Works in winxp II6 with .net 1.0/1.1. This is apparent under
+apache 2 using a virtual hosts.
+Steps to reproduce the problem:
+1. Create a c# web application hosted under a virtual host and add the
+following line to a web form:
+Response.Write("HostName: " + Request.Url.Host);
+2. Access the web form via the virtual host.
+Actual Results:
+Expected Results:
+"HostName: ad.Hermes30.lan"
+How often does this happen? 
+Additional Information:
+Maybe a duplicate bug. But I could not find it.

More information about the mono-bugs mailing list