commit | 35d3454942e5117b514b024b8d806baa058f3d35 | [log] [tgz] |
---|---|---|
author | Denis Roy <denis.roy@eclipse-foundation.org> | Tue Feb 07 15:28:36 2023 -0500 |
committer | Denis Roy <denis.roy@eclipse-foundation.org> | Tue Feb 07 15:28:36 2023 -0500 |
tree | c54cda7dfe7fdc577228f71aaffa59560f52ee7a | |
parent | 37269feeebf158b38f6ef65bb0b5f7f0b7314ee2 [diff] |
404 handler incorrectly parses + symbol https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/2496 Change-Id: I79f401a4004b56e0273acfafce48a1c8fd936831 Signed-off-by: Denis Roy <denis.roy@eclipse-foundation.org>
diff --git a/classes/downloads/downloadDirectory.class.php b/classes/downloads/downloadDirectory.class.php index ca78df6..25810ca 100644 --- a/classes/downloads/downloadDirectory.class.php +++ b/classes/downloads/downloadDirectory.class.php
@@ -256,7 +256,7 @@ * @return string */ public function getCurrentDirectory() { - return $_SERVER['DOCUMENT_ROOT'] . urldecode($this->_getUri()); + return $_SERVER['DOCUMENT_ROOT'] . rawurldecode($this->_getUri()); } /**