summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-08 09:40:27 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-08 09:40:27 +0100
commit21b6bd321d5c8b2757fbd6040d7186226dbf6e48 (patch)
tree1e03d08fda68eb6d7580db4c5d356d2eea99e046 /lib
parenta8bafb9bf38ee1c273a9a48579206d00c2a6c8f3 (diff)
parent1fd76b6379cceb357ed743b5f745b3912ad75967 (diff)
downloadnextcloud-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.php4
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);
}