DescriptionThis patch prevents appending extension to filename derived from content disposition if it does not have one.
For example, in below case,
Content-Type:text/plain;charset=UTF-8
Content-Disposition:attachment; fileName = "ABC"
File is saved as "ABC" instead of "ABC.txt"
BUG=411200
Committed: https://crrev.com/7252e6eb8e6e88cf7ac6f5181498d2b3fc2c3874
Cr-Commit-Position: refs/heads/master@{#301794}
Patch Set 1 #
Total comments: 1
Patch Set 2 : modified as per comments #
Total comments: 3
Patch Set 3 : Updated as per latest comments #
Total comments: 2
Patch Set 4 : Added unittests #Messages
Total messages: 18 (2 generated)
|