Dear Community,
I'm experiencing a strange behaviour of
auth.requires_signature()/URL.verify()
def one():
files = []
for i in range(10):
files.append(i)
redirect(URL("show_files", vars={"files":files}, user_signature=True)
@auth.requires_signature()
def two():
logger.info(True)
>>> True
def one():
...
for i in range(100):
...
>>> False
I regularly have to pass long lists and such - is there a better way to do
this or is there a bug in URL.verify()? My vars have to be part of the
signature. A simple requires_login() doesn't do unfortunatly.
Thank you so much!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.