mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 21:51:29 +00:00
Patch for an Issue #1121
This commit is contained in:
@@ -213,6 +213,9 @@ class Web:
|
||||
if success:
|
||||
break
|
||||
|
||||
if not directory:
|
||||
continue
|
||||
|
||||
uploaded = False
|
||||
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 = ''
|
||||
|
||||
for (key, value) in vars:
|
||||
if key is not None and value is not None:
|
||||
buf += '--%s\r\n' % boundary
|
||||
buf += 'Content-Disposition: form-data; name="%s"' % key
|
||||
buf += '\r\n\r\n' + value + '\r\n'
|
||||
|
||||
Reference in New Issue
Block a user