-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: quotes in content-disposition header
Replaces the quotes by actually encoding the filename in the dav `Content-Disposition` header. The value of the `filename*` parameter must not be surrounded by any quotes, but rather be encoded in the first place. See RFC-6266 for more details. The quotes caused an issue where certain browsers would decode the quotes and falsely prepend them to the filename.
- Loading branch information
1 parent
d599d88
commit 6f42cd2
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
changelog/unreleased/fix-quotes-in-content-disposition-headers.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Bugfix: Quotes in dav Content-Disposition header | ||
|
||
We've fixed the the quotes in the dav `Content-Disposition` header. They caused an issue where certain browsers would decode the quotes and falsely prepend them to the filename. | ||
|
||
https://github.com/cs3org/reva/pull/4748 | ||
https://github.com/owncloud/web/issues/11031 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters