diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-08 09:40:27 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-08 09:40:27 +0100 |
commit | 21b6bd321d5c8b2757fbd6040d7186226dbf6e48 (patch) | |
tree | 1e03d08fda68eb6d7580db4c5d356d2eea99e046 /lib | |
parent | a8bafb9bf38ee1c273a9a48579206d00c2a6c8f3 (diff) | |
parent | 1fd76b6379cceb357ed743b5f745b3912ad75967 (diff) | |
download | nextcloud-server-21b6bd321d5c8b2757fbd6040d7186226dbf6e48.tar.gz nextcloud-server-21b6bd321d5c8b2757fbd6040d7186226dbf6e48.zip |
Merge pull request #22918 from owncloud/remove-double-encoding-in-name
Remove double URL encoding
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/streamer.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/streamer.php b/lib/private/streamer.php index 5fffa7ac368..23c191b68da 100644 --- a/lib/private/streamer.php +++ b/lib/private/streamer.php @@ -51,10 +51,6 @@ class Streamer { public function sendHeaders($name){ $extension = $this->streamerInstance instanceof ZipStreamer ? '.zip' : '.tar'; $fullName = $name . $extension; - // ZipStreamer does not escape name in Content-Disposition atm - if ($this->streamerInstance instanceof ZipStreamer) { - $fullName = rawurlencode($fullName); - } $this->streamerInstance->sendHeaders($fullName); } |