This commit is contained in:
Miroslav Stampar 2015-07-17 09:56:24 +02:00
parent 1aafe85a3a
commit 49212ec920

View File

@ -2281,7 +2281,7 @@ def findMultipartPostBoundary(post):
candidates = [] candidates = []
for match in re.finditer(r"(?m)^--(.+?)(--)?$", post or ""): for match in re.finditer(r"(?m)^--(.+?)(--)?$", post or ""):
_ = match.group(1) _ = match.group(1).strip().strip('-')
if _ in done: if _ in done:
continue continue
else: else: