[Trac-tickets] Re: [The Trac Project] #2553: tracd reverts to
http:// after a POST even if stunnel is being used via a https:// url.
The Trac Project
noreply at edgewall.com
Wed Jan 4 13:25:16 CST 2006
#2553: tracd reverts to http:// after a POST even if stunnel is being used via a
https:// url.
---------------------------------+------------------------------------------
Reporter: anonymous | Owner: cboos
Type: defect | Status: assigned
Priority: normal | Milestone: 0.9.4
Component: tracd | Version: 0.9.2
Severity: normal | Resolution:
Keywords: tracd https stunnel |
---------------------------------+------------------------------------------
Comment (by cmlenz):
This is not that great a solution. The primary problem is that the referer
could be a totally different site… for example, some site running over
HTTPS that is linking a Trac site somewhere else. So at least, we should
be checking whether the URL in the referer is pointing to the same host
and base path before setting the scheme to https. But even then, I feel
that this change is too much of a hack.
Can you please try whether setting the `base_url` option in [wiki:TracIni
trac.ini] also fixes the problem (without the patch above)?
{{{
[trac]
base_url = https://example.org/trac/
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2553>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list