Skip to content

Commit

Permalink
Fixing issue Kludex#78
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenpike committed Feb 7, 2024
1 parent 0776bf0 commit a449781
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions multipart/multipart.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ def parse_options_header(value: Union[str, bytes]) -> Tuple[bytes, Dict[bytes, b
options = {}
for param in params:
key, value = param
if isinstance(value, tuple):
value = value[-1]
# If the value is a filename, we need to fix a bug on IE6 that sends
# the full file path instead of the filename.
if key == 'filename':
Expand Down

0 comments on commit a449781

Please sign in to comment.