mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 02:53:11 +00:00
Minor patch
This commit is contained in:
parent
c1363dd44c
commit
478888b19e
3 changed files with 5 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ See the file 'LICENSE' for copying permission
|
|||
import re
|
||||
|
||||
from lib.core.common import readInput
|
||||
from lib.core.convert import htmlUnescape
|
||||
from lib.core.data import kb
|
||||
from lib.core.data import logger
|
||||
from lib.core.datatype import OrderedSet
|
||||
|
|
@ -47,7 +48,7 @@ def parseSitemap(url, retVal=None, visited=None):
|
|||
if abortedFlag:
|
||||
break
|
||||
|
||||
foundUrl = match.group(1).strip()
|
||||
foundUrl = htmlUnescape(match.group(1).strip())
|
||||
|
||||
# Basic validation to avoid junk
|
||||
if not foundUrl.startswith("http"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue