diff --git a/lib/request/inject.py b/lib/request/inject.py index 847c1b41b..5fa111829 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -434,12 +434,12 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser finally: kb.resumeValues = True - if suppressOutput is not None: - getCurrentThreadData().disableStdOut = popValue() - conf.tbl = popValue() conf.db = popValue() + if suppressOutput is not None: + getCurrentThreadData().disableStdOut = popValue() + kb.safeCharEncode = False if not kb.testMode and value is None and Backend.getDbms() and conf.dbmsHandler and not conf.noCast and not conf.hexConvert: