urldecode for some specifics cases

This commit is contained in:
Beu 2022-04-15 20:59:46 +02:00
parent 81c18aa594
commit 818efaa756

View File

@ -468,7 +468,7 @@ class DirectoryBrowser implements ManialinkPageAnswerListener {
$contentdispositionheader = ""; $contentdispositionheader = "";
foreach ($headers as $key => $value) { foreach ($headers as $key => $value) {
if (strtolower($key) === "content-disposition") { if (strtolower($key) === "content-disposition") {
$contentdispositionheader = $value; $contentdispositionheader = urldecode($value);
break; break;
} }
} }