Mercurial > public > src > moin > 1.9
diff MoinMoin/config/multiconfig.py @ 1929:aa6aa944246b
introduce per-user and per-session secrets that are used for the cookie
signature to avoid cookies being stolen and re-used after logging out
author | Johannes Berg <johannes AT sipsolutions DOT net> |
---|---|
date | Tue, 03 Apr 2007 18:19:24 +0200 |
parents | b06ef2a53efa |
children | 3b25f0f60ede |
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py Tue Apr 03 18:18:27 2007 +0200 +++ b/MoinMoin/config/multiconfig.py Tue Apr 03 18:19:24 2007 +0200 @@ -555,7 +555,7 @@ for dirname in ('user', 'cache', 'plugin'): name = dirname + '_dir' if not getattr(self, name, None): - setattr(self, name, os.path.join(data_dir, dirname)) + setattr(self, name, os.path.abspath(os.path.join(data_dir, dirname))) # Try to decode certain names which allow unicode self._decode()