mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Patch for an Issue #976
This commit is contained in:
parent
8cd40f8917
commit
605b126758
4 changed files with 11 additions and 9 deletions
|
|
@ -11,6 +11,7 @@ from ConfigParser import MissingSectionHeaderError
|
|||
from ConfigParser import ParsingError
|
||||
|
||||
from lib.core.common import checkFile
|
||||
from lib.core.common import openFile
|
||||
from lib.core.common import unArrayizeValue
|
||||
from lib.core.common import UnicodeRawConfigParser
|
||||
from lib.core.data import conf
|
||||
|
|
@ -65,7 +66,7 @@ def configFileParser(configFile):
|
|||
logger.debug(debugMsg)
|
||||
|
||||
checkFile(configFile)
|
||||
configFP = codecs.open(configFile, "rb", UNICODE_ENCODING)
|
||||
configFP = openFile(configFile, "rb")
|
||||
|
||||
try:
|
||||
config = UnicodeRawConfigParser()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue