more general update

This commit is contained in:
Miroslav Stampar 2012-03-12 15:29:55 +00:00
parent 1d0c8a7f44
commit 48bcde478e

View File

@ -725,7 +725,7 @@ class Connect:
if not response and removeReflection:
page = removeReflectiveValues(page, payload)
kb.permissionFlag = re.search(r"(command|permission) denied", page or "", re.I) is not None
kb.permissionFlag = re.search(r"(command|permission|access)\s*(was|is)?\s*denied", page or "", re.I) is not None
if content or response:
return page, headers