[Fusionforge-commits] FusionForge branch master updated. 0ec7fda614c473f7d728fd50af1b5b21a70b7e60

Roland Mas lolando at fusionforge.org
Fri Jul 5 16:24:05 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  0ec7fda614c473f7d728fd50af1b5b21a70b7e60 (commit)
      from  dd51b616cdd09de12fb7d61c3bbcfb27d400ea26 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0ec7fda614c473f7d728fd50af1b5b21a70b7e60
Author: Roland Mas <lolando at debian.org>
Date:   Fri Jul 5 16:24:00 2013 +0200

    Use new format for session cookie (with nonce) in moinmoin plugin

diff --git a/src/plugins/moinmoin/lib/fusionforge.py b/src/plugins/moinmoin/lib/fusionforge.py
index 4eb5c37..ec95fad 100644
--- a/src/plugins/moinmoin/lib/fusionforge.py
+++ b/src/plugins/moinmoin/lib/fusionforge.py
@@ -220,10 +220,10 @@ class FusionForgeSessionAuth(BaseAuth):
             if H.digest() != shash:
                 continue
 
-            m = re.search('(.*)<(.*)<(.*)<(.*)', sdata)
+            m = re.search('(.*)<(.*)<(.*)<(.*)<(.*)', sdata)
             if m is None:
                 continue
-            (time, user_id, ip, user_agent) = m.group(1, 2, 3, 4)
+            (time, user_id, ip, nonce, user_agent) = m.group(1, 2, 3, 4, 5)
 
             conn = self.fflink._conn
             cur = conn.cursor()

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/moinmoin/lib/fusionforge.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list