diff --git a/include/download-instructions/windows-downloads.php b/include/download-instructions/windows-downloads.php index a3f78d730d..aca829536e 100644 --- a/include/download-instructions/windows-downloads.php +++ b/include/download-instructions/windows-downloads.php @@ -125,7 +125,9 @@ function ws_has_sbom(string $version, string $fullVersion): bool { if (!empty($entry[$type]['path'])) { $p = $entry[$type]['path']; echo "\t", '
' . $package_names[$type] . ' ' . $entry[$type]['size'] . '
', PHP_EOL;
- echo "\t", '' . ($entry[$type]['sha256'] ?? '') . '', PHP_EOL;
+ if (!empty($entry[$type]['sha256'])) {
+ echo "\t", sha256_html($entry[$type]['sha256']), PHP_EOL;
+ }
if ($type === 'zip' && $hasSbom) {
echo "\t", 'SPDX|CDX', PHP_EOL;
}
diff --git a/releases/index.php b/releases/index.php
index b960a1127c..a42b33b4eb 100644
--- a/releases/index.php
+++ b/releases/index.php
@@ -233,12 +233,20 @@ function mk_rel(int $major,
if (!isset($src["filename"])) {
continue;
}
- printf('