Depending on the size of the input string, urlsafe_b64encode() padds
the resulting string with '=' characters.

If the generated string is used as a URL argument e.g.

http://localhost:8000/default/app/controller/function/DxFOVxWvvzGdOSh2ARkK-2XPXNavnpiCkD6RuKLffvA=

Then I appear to get an "invalid request" error, whereas without the
'=' is OK (the string appears in args). People think '=' should be
valid in a URL in this context. Is this something web2py should cope
with?

 ref:
http://stackoverflow.com/questions/447875/urlsafeb64encode-always-ends-in
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to