From 818efaa756e0aa12c9afdb08943792ec72793650 Mon Sep 17 00:00:00 2001 From: beu Date: Fri, 15 Apr 2022 20:59:46 +0200 Subject: [PATCH] urldecode for some specifics cases --- core/Maps/DirectoryBrowser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Maps/DirectoryBrowser.php b/core/Maps/DirectoryBrowser.php index b1b0d6ec..45cb620d 100644 --- a/core/Maps/DirectoryBrowser.php +++ b/core/Maps/DirectoryBrowser.php @@ -468,7 +468,7 @@ class DirectoryBrowser implements ManialinkPageAnswerListener { $contentdispositionheader = ""; foreach ($headers as $key => $value) { if (strtolower($key) === "content-disposition") { - $contentdispositionheader = $value; + $contentdispositionheader = urldecode($value); break; } }