Bug 569730 - Download server Archive operation leads to "The information that you’re about to submit is not secure" warning in Chrome 87+ Change-Id: I8c0cc8de592442146a7f16389a1881a91146d993 Signed-off-by: Denis Roy <denis.roy@eclipse-foundation.org>
diff --git a/download.eclipse.org/filehandler.php b/download.eclipse.org/filehandler.php index ff55371..98a62c9 100644 --- a/download.eclipse.org/filehandler.php +++ b/download.eclipse.org/filehandler.php
@@ -21,7 +21,7 @@ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/classes/downloads/downloadDirectory.class.php"); $DownloadDirectory = new DownloadDirectory(); $dir_html = $DownloadDirectory->getFormOutput("", "", $dir); - header("Location: " . dirname($_POST['paths_to_archive'][0])); + header("Location: " . dirname($_POST['paths_to_archive'][0]) . "/"); exit; } }