alfonsodg / demo-web2py

Apache License 2.0
0 stars 0 forks source link

sanitizer.py catch for text being None #153

Closed alfonsodg closed 10 years ago

alfonsodg commented 10 years ago

From gr...@jingojango.net on January 12, 2011 00:44:48

When functions like sanitize and strip from sanitizer.py are called with non-string values then it will traceback. Fix validates variables with isinstance(var, str)

Attachment: sanitizer-none-fix.diff

Original issue: http://code.google.com/p/web2py/issues/detail?id=155

alfonsodg commented 10 years ago

From massimo....@gmail.com on January 12, 2011 07:10:11

Thanks! in trunk.

Status: Fixed