mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 05:31:32 +00:00
Minor update
This commit is contained in:
4
thirdparty/beautifulsoup/beautifulsoup.py
vendored
4
thirdparty/beautifulsoup/beautifulsoup.py
vendored
@@ -559,7 +559,7 @@ class Tag(PageElement):
|
||||
self.escapeUnrecognizedEntities = parser.escapeUnrecognizedEntities
|
||||
|
||||
# Convert any HTML, XML, or numeric entities in the attribute values.
|
||||
convert = lambda(k, val): (k,
|
||||
convert = lambda k, val: (k,
|
||||
re.sub("&(#\d+|#x[0-9a-fA-F]+|\w+);",
|
||||
self._convertEntities,
|
||||
val))
|
||||
@@ -1828,7 +1828,7 @@ class UnicodeDammit:
|
||||
"iso-8859-1",
|
||||
"iso-8859-2"):
|
||||
markup = re.compile("([\x80-\x9f])").sub \
|
||||
(lambda(x): self._subMSChar(x.group(1)),
|
||||
(lambda x: self._subMSChar(x.group(1)),
|
||||
markup)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user