From bd892556e1d89adc9135fea88d8205314c378463 Mon Sep 17 00:00:00 2001 From: Lisandro Date: Mon, 20 May 2019 11:58:42 -0300 Subject: [PATCH] solves #2211 The change I propose solves issue #2211 I hope this is the correct approach. --- gluon/authapi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gluon/authapi.py b/gluon/authapi.py index 220ba437..2158d0a5 100644 --- a/gluon/authapi.py +++ b/gluon/authapi.py @@ -444,6 +444,7 @@ class AuthAPI(object): if type(description).__name__ == 'lazyT': description = description.m if not user_id or self.table_user()[user_id]: + description = description.replace('%', '%%') self.table_event().insert( description=str(description % vars), origin=origin, user_id=user_id)