mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-21 13:26:07 +03:00
Patch for an Issue #1121
This commit is contained in:
parent
e73ac6c8e3
commit
393659ffbf
|
@ -213,6 +213,9 @@ class Web:
|
||||||
if success:
|
if success:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if not directory:
|
||||||
|
continue
|
||||||
|
|
||||||
uploaded = False
|
uploaded = False
|
||||||
directory = ntToPosixSlashes(normalizePath(directory))
|
directory = ntToPosixSlashes(normalizePath(directory))
|
||||||
|
|
||||||
|
|
1
thirdparty/multipart/multipartpost.py
vendored
1
thirdparty/multipart/multipartpost.py
vendored
|
@ -81,6 +81,7 @@ class MultipartPostHandler(urllib2.BaseHandler):
|
||||||
buf = ''
|
buf = ''
|
||||||
|
|
||||||
for (key, value) in vars:
|
for (key, value) in vars:
|
||||||
|
if key is not None and value is not None:
|
||||||
buf += '--%s\r\n' % boundary
|
buf += '--%s\r\n' % boundary
|
||||||
buf += 'Content-Disposition: form-data; name="%s"' % key
|
buf += 'Content-Disposition: form-data; name="%s"' % key
|
||||||
buf += '\r\n\r\n' + value + '\r\n'
|
buf += '\r\n\r\n' + value + '\r\n'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user