description % should not be escaped, reverting
This commit is contained in:
@@ -444,7 +444,6 @@ class AuthAPI(object):
|
|||||||
if type(description).__name__ == 'lazyT':
|
if type(description).__name__ == 'lazyT':
|
||||||
description = description.m
|
description = description.m
|
||||||
if not user_id or self.table_user()[user_id]:
|
if not user_id or self.table_user()[user_id]:
|
||||||
description = description.replace('%', '%%')
|
|
||||||
self.table_event().insert(
|
self.table_event().insert(
|
||||||
description=str(description % vars), origin=origin, user_id=user_id)
|
description=str(description % vars), origin=origin, user_id=user_id)
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
from pydal.validators import *
|
from pydal.validators import *
|
||||||
from pydal.validators import simple_hash, get_digest, Validator, ValidationError, translate, __all__
|
from pydal.validators import simple_hash, get_digest, Validator, ValidationError, translate, __all__
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user