Changeset 2961
- Timestamp:
- 05/01/07 12:46:58 (2 years ago)
- Files:
-
- branches/1.0/CHANGELOG.txt (modified) (2 diffs)
- branches/1.0/turbogears/visit/api.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/CHANGELOG.txt
r2959 r2961 7 7 *Changes* 8 8 9 * New ``visit.cookie.secure``config option to send cookie only over a secure connection. 10 #1375 by James E. Blair. 9 11 * ``cherrypy.request`` is now available at the variables sent to every template. 10 12 #1362 by Christoph Zwerschke. … … 64 66 *Contributors* 65 67 66 Alberto Valverde, Fred Lin, jorge.vargas, Joseph Tate, Elvelind Grandin, Florent Aide, nludban, Jeff Kowalczyk, corvus, Christoph Zwerschke, iberonasia, alastair, cito, Felix Schwartz, Patrcik Lewis, Grover, pnfisher, Joost Moesker, Paul Johnston, Christian Vogler, Janzert, Chris Miles, Christopher Arndt, Jo Soares .68 Alberto Valverde, Fred Lin, jorge.vargas, Joseph Tate, Elvelind Grandin, Florent Aide, nludban, Jeff Kowalczyk, corvus, Christoph Zwerschke, iberonasia, alastair, cito, Felix Schwartz, Patrcik Lewis, Grover, pnfisher, Joost Moesker, Paul Johnston, Christian Vogler, Janzert, Chris Miles, Christopher Arndt, Jo Soares, James E. Blair. 67 69 68 70 branches/1.0/turbogears/visit/api.py
r2366 r2961 122 122 # as in the event of a virtual path filter. 123 123 self.cookie_path= get( "visit.cookie.path", "/" ) 124 # The secure bit should be set for HTTPS only sites 125 self.cookie_secure= get( "visit.cookie.secure", False ) 124 126 # By default, I don't specify the cookie domain. 125 127 self.cookie_domain= get( "visit.cookie.domain", None ) … … 193 195 cookies[self.cookie_name]= visit_key 194 196 cookies[self.cookie_name]['path']= self.cookie_path 197 if self.cookie_secure: 198 cookies[self.cookie_name]['secure']= True 195 199 if self.cookie_domain: 196 200 cookies[self.cookie_name]['domain']= self.cookie_domain