[albatross-users] [patch] set cookie path

Matt Goodall matt at pollenation.net
Fri Sep 12 20:03:27 EST 2003


Hi,

Attached is patch (against 1.10) which fixes the multiple cookie
(incorrect cookie paths) problem that Sheila highlighted.

The patch contains the following changes:

      * Extracted most of AppContext.redirect_url() to a new method,
        AppContext.absolute_base_url()
      * Changed session.py and sessionfile.py to use the result of new
        method to calculate the path.

I've done some tests and things still seem to be working ok but please
review the change.

Hope this is ok.

Cheers, Matt

-- 
Matt Goodall, Pollenation Internet Ltd
w: http://www.pollenation.net
e: matt at pollenation.net
t: +44 (0)113 2252500
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setcookiepath.patch
Type: text/x-patch
Size: 2040 bytes
Desc: not available
URL: <http://www.object-craft.com.au/pipermail/albatross-users/attachments/20030912/07c15c37/attachment.bin>


More information about the Albatross-users mailing list