diff --git a/VERSION b/VERSION index 6d441136..eebaddd7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.8 (2012-09-12 10:43:36) stable +Version 2.0.8 (2012-09-12 11:08:28) stable diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index d5a638d7..94082f68 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -1664,8 +1664,9 @@ class SQLFORM(FORM): return URL(**b) referrer = session.get('_web2py_grid_referrer_'+formname, url()) - if user_signature: - if (args != request.args and user_signature and \ + if user_signature: + if ('/'.join(str(a) for a in args) != '/'.join(request.args) and \ + user_signature and \ not URL.verify(request,user_signature=user_signature)) or \ (not (session.auth and session.auth.user) and \ ('edit' in request.args or \