mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
redo of the last commit with comments added
This commit is contained in:
parent
ade31b2cb0
commit
9856cb71de
1 changed files with 4 additions and 1 deletions
|
|
@ -78,7 +78,10 @@ class Connect:
|
|||
threadData = getCurrentThreadData()
|
||||
threadData.lastRequestUID += 1
|
||||
|
||||
url = kwargs.get('url', conf.url)
|
||||
# dirty hack because urllib2 just skips the other part of provided url
|
||||
# splitted with space char while urlencoding it in the later phase
|
||||
url = kwargs.get('url', conf.url).replace(" ", "%20")
|
||||
|
||||
get = kwargs.get('get', None)
|
||||
post = kwargs.get('post', None)
|
||||
method = kwargs.get('method', None)
|
||||
|
|
|
|||
Loading…
Reference in a new issue