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()); } /**