You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def test(count=1030):
import itsdangerous
secret = 'test'
s = itsdangerous.URLSafeSerializer(secret, signer_kwargs={'sep': '_'})
for i in xrange(count):
val = gen_random_string(len=3)
s.loads(s.dumps(val))
Improvment: let itsdangerous throw an exception if an invalid seperator is used.
The text was updated successfully, but these errors were encountered:
I can't reproduce this issue. _ (and any character not used by base64) is a valid separator. I think it's reasonable to assume the user isn't picking a character that will be used by the encoding.
This code fails:
Improvment: let itsdangerous throw an exception if an invalid seperator is used.
The text was updated successfully, but these errors were encountered: