minor update (for future implementation of more advanced error page logic)

This commit is contained in:
Miroslav Stampar 2010-10-06 12:10:00 +00:00
parent 10ab6371f2
commit 56dbf0038f
3 changed files with 3 additions and 0 deletions

View File

@ -1003,6 +1003,7 @@ def __setKnowledgeBaseAttributes():
kb.dep = None
kb.docRoot = None
kb.dynamicContent = []
kb.errorPages = set()
kb.headersCount = 0
kb.headersFp = {}
kb.htmlFp = []

View File

@ -266,6 +266,7 @@ def initTargetEnv():
kb.dbms = None
kb.dbmsDetected = False
kb.dbmsVersion = [ "Unknown" ]
kb.errorPages = set()
kb.injParameter = None
kb.injPlace = None
kb.injType = None

View File

@ -57,6 +57,7 @@ class htmlHandler(ContentHandler):
if self.__match:
self.dbms = self.__dbms
self.__match = None
kb.errorPages.add(self.__page)
def htmlParser(page):
"""