mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
support login/uploading from hv3
This commit is contained in:
parent
eacbcda8e5
commit
16c8e38ecd
|
@ -708,7 +708,7 @@ class MultipartParser(object):
|
|||
def get_boundary(headers):
|
||||
# boundaries contain a-z A-Z 0-9 ' ( ) + _ , - . / : = ?
|
||||
# (whitespace allowed except as the last char)
|
||||
ptn = r"^multipart/form-data; *(.*; *)?boundary=([^;]+)"
|
||||
ptn = r"^multipart/form-data *; *(.*; *)?boundary=([^;]+)"
|
||||
ct = headers["content-type"]
|
||||
m = re.match(ptn, ct, re.IGNORECASE)
|
||||
if not m:
|
||||
|
|
Loading…
Reference in a new issue