Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49212ec

Browse files
committed
Fixes #1302
1 parent 1aafe85 commit 49212ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2281,7 +2281,7 @@ def findMultipartPostBoundary(post):
22812281
candidates = []
22822282

22832283
for match in re.finditer(r"(?m)^--(.+?)(--)?$", post or ""):
2284-
_ = match.group(1)
2284+
_ = match.group(1).strip().strip('-')
22852285
if _ in done:
22862286
continue
22872287
else:

0 commit comments

Comments
 (0)