From 4fedc20c6b151c0da8191574fa43190d6d8496f6 Mon Sep 17 00:00:00 2001 From: Bastian Konetzny Date: Tue, 12 Feb 2019 18:27:56 +0100 Subject: [PATCH] Prevent URL unescape of already escaped URLs. --- src/HttpAdapter.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/HttpAdapter.php b/src/HttpAdapter.php index 678dc10..fd35466 100644 --- a/src/HttpAdapter.php +++ b/src/HttpAdapter.php @@ -271,7 +271,6 @@ public function writeStream($path, $resource, Config $config) */ protected function buildUrl($path) { - $path = str_replace('%2F', '/', $path); $path = str_replace(' ', '%20', $path); return rtrim($this->base, '/') . '/' . $path;