This is an automated email from the ASF dual-hosted git repository.
cederom pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-website.git
The following commit(s) were added to refs/heads/master by this push:
new eb1c71a93c download.md: append ?action=download to archive download
links
eb1c71a93c is described below
commit eb1c71a93c82f49a913fa20e0a89031df3908d11
Author: Swatantra Yadav <[email protected]>
AuthorDate: Sun Oct 4 22:54:32 2026 +0530
download.md: append ?action=download to archive download links
Release artifact links in the Archive column use release.artifact-root,
which points to the mirror selector (dyn/closer.lua). Without the
?action=download parameter, clicking OS or Apps links navigates to an
HTML mirror-selection page rather than directly triggering the file
download.
In accordance with ASF Distribution Policy
(https://infra.apache.org/release-download-pages.html#closer),
append ?action=download to release.source-os-dist and
release.source-app-dist
links so closer.lua responds with an HTTP 302 redirect directly to the
resolved mirror (e.g. dlcdn.apache.org) or archive.apache.org for older
releases.
Fixes #189
Signed-off-by: Swatantra Yadav <[email protected]>
---
download.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/download.md b/download.md
index e3f29992fe..fa730c1a22 100644
--- a/download.md
+++ b/download.md
@@ -47,7 +47,7 @@ and another for the integrated Apps.
<tr>
<td style="vertical-align: middle; line-height: 2.5em;"
class="col-md-1"><a href="{{ release.url | prepend: site.baseurl }}">{{
release.title }}</a></td>
<td style="vertical-align: middle;" class="col-md-4">{{
release.summary }}</td>
- <td style="vertical-align: middle;" class="col-md-2
text-right"><a
href="{{release.artifact-root}}/{{release.source-os-dist}}">OS</a>/<a
href="{{release.artifact-root}}/{{release.source-app-dist}}">Apps</a></td>
+ <td style="vertical-align: middle;" class="col-md-2
text-right"><a
href="{{release.artifact-root}}/{{release.source-os-dist}}?action=download">OS</a>/<a
href="{{release.artifact-root}}/{{release.source-app-dist}}?action=download">Apps</a></td>
<td style="vertical-align: middle;" class="col-md-2
text-right"><a
href="{{release.checksum-root}}/{{release.source-os-dist}}.sha512">OS</a>/<a
href="{{release.checksum-root}}/{{release.source-app-dist}}.sha512">Apps</a></td>
<td style="vertical-align: middle;" class="col-md-2
text-right"><a
href="{{release.checksum-root}}/{{release.source-os-dist}}.asc">OS</a>/<a
href="{{release.checksum-root}}/{{release.source-app-dist}}.asc">Apps</a></td>
<td style="vertical-align: middle;" class="col-md-1
text-right">{{ release.date | date: "%Y-%m-%d" }}</td>