From 967513e1bbab31b517a4cc904ad386fa9d9c3c57 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 18 May 2013 20:59:23 +0200 Subject: [PATCH] Minor message 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 e36aa86d4..67bc04ab3 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -768,7 +768,7 @@ def heuristicCheckSqlInjection(place, parameter): if casting: errMsg = "possible %s casting " % ("integer" if origValue.isdigit() else "type") - errMsg += "detected (e.g. %s=(int)$_REQUEST('%s')) " % (parameter, parameter) + errMsg += "detected (e.g. %s=intval($_REQUEST('%s'))) " % (parameter, parameter) errMsg += "at the back-end web application" logger.error(errMsg)