[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1928: web redirects should use relative URLs
Tahoe-LAFS
trac at tahoe-lafs.org
Sun Jan 31 19:49:36 UTC 2016
#1928: web redirects should use relative URLs
-----------------------------------+----------------------------------
Reporter: leif | Owner: davidsarah
Type: defect | Status: assigned
Priority: normal | Milestone: soon
Component: code-frontend-web | Version: 1.9.2
Resolution: | Keywords: http redirect webapi
Launchpad Bug: |
-----------------------------------+----------------------------------
Comment (by lpirl):
Replying to [comment:11 leif]:
> Actually, as long as we have any absolute redirects, a rewrite
workaround will still be necessary in the case that someone wants to put
SSL in front of their web gateway because Twisted has no way of knowing
that its absolute redirects should be `https://`.
Exactly, and using SSL is essential when accessing the WUI over the
Internet (regarding the confidentiality of the URLs).
Couldn't Twisted look for `X-Forwarded-*` headers? Esp. `X-Forwarded-
Proto` (or the more recent `Forwarded` header)?
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1928#comment:12>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list