Issue #412 resolved

Cookie domain support missing in session filter rewrite

anonymous
created an issue

2.1-beta and earlier versions of the cherrypy session filter honored the {{{sessionFilter.cookieDomain}}} configuration setting.

The rewrite appears not to. The following patch, applied against sessionfilter.py in 2.1-release remedies the problem:

{{{ 115a116,117

    cookieDomain = conf('sessionFilter.cookieDomain')

160a163,164 if cookieDomain: cookie[cookieName]['domain'] = cookieDomain }}}

Obviously, changes to trunk would require the new lowercase_with_underscores configuration convention.

Comments (5)

  1. Log in to comment