[Trac-tickets] [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
Tue Jan 3 16:47:05 CST 2006


#2553: tracd reverts to http:// after a POST even if stunnel is being used via a
https:// url.
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  jonas              
     Type:  defect     |      Status:  new                
 Priority:  normal     |   Milestone:                     
Component:  tracd      |     Version:  0.9.2              
 Severity:  normal     |    Keywords:  tracd https stunnel
-----------------------+----------------------------------------------------
 Running tracd through stunnel, I access trac via a https://url/trac.
 Everything works fine until I change something (confirm a wiki edit, add a
 new ticket, login, etc.) and the url forwards to http://url/trac instead
 of https.

 To fix this, I changed the 'self.scheme = 'http'' in TracHTTPRequest in
 standalone.py to self.scheme='https'. But I imagine this should autodetect
 in some way.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2553>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list