| Summary: | webinterface plugin -- relative http redirects | ||
|---|---|---|---|
| Product: | [Applications] ktorrent | Reporter: | Elan Ruusamäe <glen> |
| Component: | general | Assignee: | Joris Guisson <joris.guisson> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
*** This bug has been marked as a duplicate of bug 188134 *** |
Version: 3.2.0 (using 4.2.1 (KDE 4.2.1), PLD-Linux) Compiler: x86_64-pld-linux-gcc OS: Linux (x86_64) release 2.6.27.7-2 please make HTTP 301 Redirects relative, as if they are with leading slash (relative to host root), it makes it hard to proxy connections with mod_proxy. or make it configurable what is the server address if it is required in http protocol. as i'd put to apache config: ProxyPass /torrent/ http://localhost:8080/ i'd expect the Location header be relatve to requested url. for example login handler: Location: login.html sniff with firebug: Request Headers: Host localhost:8080 User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.7) Gecko/2009030519 PLD/3.0 Iceweasel/3.0.7 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 300 Connection keep-alive Referer http://localhost:8080/ Response Headers: Connection keep-alive Content-Length 1555 Content-Type text/html Date Thu, 26 Mar 2009 22:14:14 UTC Location /login.html Server KTorrent/3.2.0