From 49212ec920595e4e242ed81d3476fe72e4dcb8ca Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 17 Jul 2015 09:56:24 +0200 Subject: [PATCH] Fixes #1302 --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 8708f47c5..8f6ca2954 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2281,7 +2281,7 @@ def findMultipartPostBoundary(post): candidates = [] for match in re.finditer(r"(?m)^--(.+?)(--)?$", post or ""): - _ = match.group(1) + _ = match.group(1).strip().strip('-') if _ in done: continue else: