Opened 18 years ago
Last modified 9 years ago
#2553 closed defect
tracd reverts to http:// after a POST even if stunnel is being used via a https:// url. — at Version 1
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | high | Milestone: | 0.10.5 |
Component: | web frontend/tracd | Version: | devel |
Severity: | major | Keywords: | tracd https stunnel mod_proxy patch apache mod_python |
Cc: | jorge.vargas@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Running tracd through stunnel, I access trac via a https://url/trac.Everything works fine until I change something (confirm a wiki edit, add anew ticket, login, etc.) and the url forwards to http://url/trac insteadof https.To fix this, I changed the self.scheme = 'http'
in TracHTTPRequest instandalone.py to self.scheme='https'
. But I imagine this shouldautodetect in some way.
Change History (1)
comment:1 by , 18 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 0.9.4 |
Owner: | changed from | to
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
One could use the
Referer:
header, if present.Thoughts?