mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
crawler fix (skip binary files)
This commit is contained in:
parent
20bb1a685b
commit
2a4a284a29
3 changed files with 8 additions and 6 deletions
|
|
@ -549,9 +549,6 @@ class Tag(PageElement):
|
|||
val))
|
||||
self.attrs = map(convert, self.attrs)
|
||||
|
||||
# Reference: http://bytes.com/topic/python/answers/552874-py-2-5-bug-sgmllib
|
||||
SGMLParser.convert_codepoint = lambda self, codepoint: unichr(codepoint)
|
||||
|
||||
def getString(self):
|
||||
if (len(self.contents) == 1
|
||||
and isinstance(self.contents[0], NavigableString)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue