mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
redo of the last commit with comments added
This commit is contained in:
parent
ade31b2cb0
commit
9856cb71de
|
@ -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 New Issue
Block a user