Bug 143213 - Konqueror submits wrong 'Host:' information to webserver
Summary: Konqueror submits wrong 'Host:' information to webserver
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-19 12:27 UTC by Markus Brueffer
Modified: 2012-01-04 06:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Brueffer 2007-03-19 12:27:59 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    FreeBSD Ports
Compiler:          gcc (GCC) 3.4.6 [FreeBSD] 20060305 
OS:                FreeBSD

Konqueror submits wrong 'Host:' information to a webserver in the following setup:

Server:
from bind's zone file:
galaxy          A       192.168.1.1
cvsweb          CNAME   galaxy

Apache 2.0.59 serving 2 virtual Hosts: galaxy.somedomain and cvsweb.somedomain

Client:
resolv.conf:
nameserver      192.168.1.1
domain          somedomain

When entering "cvsweb.somedomain" into the address line, konqueror correctly submits "Host: cvsweb.somedomain" to the webserver, but entering just "cvsweb", konqueror submits "Host: galaxy.somedomain" and the wrong webpage gets served (confirmed with tcpdump). Safari and Firefox both work correctly.
Comment 1 Markus Brueffer 2007-03-19 13:18:39 UTC
I just discovered that entering "http://cvsweb" instead of just "cvsweb" into the address line works and the right page gets served.
Comment 2 Samuel Brack 2011-01-09 23:07:54 UTC
Is that still a valid bug? Or can it be closed (the report is quite old)?