From 4ab4fd1cb42894491b8f6811d82a077657472db3 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 22 Aug 2012 15:53:40 +0200 Subject: [PATCH] Minor update --- lib/controller/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 2140921c6..d46b239da 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -661,7 +661,7 @@ def heuristicCheckSqlInjection(place, parameter): casting = Request.queryPage(payload, place, raise404=False) if casting: - errMsg = "possible %scasting " % ("integer " if origValue.isdigit() else "") + errMsg = "possible %s casting " % ("integer" if origValue.isdigit() else "type") errMsg += "detected (e.g. %s=(int)$_REQUEST('%s')) " % (parameter, parameter) errMsg += "at the back-end web application" logger.error(errMsg)