diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index e394b5b58..b6b3769d7 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -74,7 +74,7 @@ def _oneShotErrorUse(expression, field=None, chunkTest=False): testChar = str(current % 10) testQuery = "SELECT %s('%s',%d)" % ("REPEAT" if Backend.isDbms(DBMS.MYSQL) else "REPLICATE", testChar, current) result = unArrayizeValue(_oneShotErrorUse(testQuery, chunkTest=True)) - if result and testChar in result: + if result and (len(result.replace(testChar,''))==0): if result == testChar * current: kb.errorChunkLength = current break