reassign 591532 moin thanks Hello,
It's a bug in the package, introduced by a recent security update. I've attached a patch to fix it (I don't understand how I could miss that bug when I tested my previous patch). Thank you for reporting this bug, Franklin Josue Abarca wrote: > Package: wiki.debian.org > Severity: normal > > > When I try to login I get: "global name 'wikiutil' is not defined".
diff --git a/debian/patches/CVE-2010-2487-XSS.patch b/debian/patches/CVE-2010-2487-XSS.patch index d353459..949feb9 100644 --- a/debian/patches/CVE-2010-2487-XSS.patch +++ b/debian/patches/CVE-2010-2487-XSS.patch @@ -166,8 +184,19 @@ Last-update: 2010-06-04 return request.page.send_page() func(pagename, request) ---- a/MoinMoin/action/login.py 2008-03-03 00:20:39.000000000 +0100 -+++ b/MoinMoin/action/login.py 2010-06-07 06:41:50.000000000 +0200 +Index: git/MoinMoin/action/login.py +=================================================================== +--- git.orig/MoinMoin/action/login.py 2010-08-03 20:01:39.000000000 -0400 ++++ git/MoinMoin/action/login.py 2010-08-03 20:14:20.000000000 -0400 +@@ -10,7 +10,7 @@ + @license: GNU GPL, see COPYING for details. + """ + +-from MoinMoin import userform ++from MoinMoin import userform, wikiutil + from MoinMoin.Page import Page + from MoinMoin.widget import html + @@ -68,7 +68,7 @@ if hasattr(request, '_login_messages'): for msg in request._login_messages: