mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-25 00:54:04 +00:00
fix for Bug #164 (Proper usage of special characters in paths)
This commit is contained in:
parent
bece99908c
commit
1bdf94f236
4 changed files with 12 additions and 8 deletions
|
|
@ -24,6 +24,7 @@ Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
import os
|
||||
|
||||
from StringIO import StringIO
|
||||
from xml.sax import parse
|
||||
|
||||
from lib.core.common import checkFile
|
||||
|
|
@ -63,5 +64,5 @@ def headersParser(headers):
|
|||
|
||||
handler = FingerprintHandler(value, kb.headersFp)
|
||||
|
||||
parse(xmlfile, handler)
|
||||
parse(paths.GENERIC_XML, handler)
|
||||
parse(StringIO(open(xmlfile).read()), handler)
|
||||
parse(StringIO(open(paths.GENERIC_XML).read()), handler)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue