Adding support for parsing ODBC/JDBC error messages

This commit is contained in:
Miroslav Stampar
2016-05-31 10:49:34 +02:00
parent 2d59a10515
commit 1782bf8e64
2 changed files with 4 additions and 3 deletions

View File

@@ -335,7 +335,7 @@ def processResponse(page, responseHeaders):
msg = extractErrorMessage(page)
if msg:
logger.warning("parsed DBMS error message: '%s'" % msg)
logger.warning("parsed DBMS error message: '%s'" % msg.rstrip('.'))
if kb.originalPage is None:
for regex in (EVENTVALIDATION_REGEX, VIEWSTATE_REGEX):