Overview
| Artifact ID: | 86cb2133b09c6aed488a58e4cc2ff2592a6dc12a |
|---|---|
| Ticket: | 504508ffffffffffffffffffffffffffffffffff
port 80 in "Host:" request header |
| User & Date: | apulsifer on 2002-01-16 18:15:10 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
http.tcl v2.4 generates a header line in the http request that reads: Host: www.domain.com:80 I have discovered a server (sorry, can't say where) that tries to 302 redirect you to "www.domain.com" when you request a document from "www.domain.com:80". Yeh, I know its stupid, but since I have no control over the server, the only reasonable work around is to patch http.tcl. When patched as follows, it works great: old code: puts $s "Host: $host:$port" new code: if {$port == 80} { puts $s "Host: $host" } else { puts $s "Host: $host:$port" } I suggest making this change to http.tcl in order to make it more tolerant of brain damaged servers. Thanks. - foundin changed to: "obsolete: 8.3.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "apulsifer"
- subsystem changed to: "29. http Package"
- title changed to: "port 80 in "Host:" request header"
- type changed to: "Bug"