Willie
2ed71d7b7b
fix(install): keep the Gitea token on the API host
...
The Contents API names a download_url for every file and the downloader
sent the token to it unchecked, so a hostile or compromised server could
point it at another host and collect GITEA_TOKEN or the generic git token.
A URL on another origin is now refused, which falls back to a git clone.
Adds the missing tests for the Gitea and CNB download paths.
2026-09-19 19:19:41 +00:00
..
2026-09-17 10:24:18 +08:00
2026-09-17 10:24:18 +08:00
2026-06-23 18:45:43 +08:00
2026-06-23 18:45:43 +08:00
2026-09-02 13:08:40 +08:00
2026-09-02 13:08:40 +08:00
2026-06-02 16:29:25 +08:00
2026-05-31 22:28:33 +08:00
2026-06-23 18:45:43 +08:00
2026-06-15 22:21:46 +08:00
2026-06-15 22:21:46 +08:00
2026-05-30 19:23:12 +08:00
2026-05-30 19:23:12 +08:00
2026-02-25 07:02:54 +08:00
2026-03-13 09:45:56 +08:00
2026-09-19 19:19:41 +00:00
2026-09-19 19:19:41 +00:00
2026-05-31 22:28:33 +08:00
2026-05-31 22:28:33 +08:00
2026-05-31 22:28:33 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-06-16 10:04:57 +08:00
2026-03-18 00:19:30 +08:00
2026-05-26 11:05:32 +08:00
2026-09-19 19:17:29 +00:00
2026-09-17 10:24:18 +08:00
2026-02-27 05:39:49 +08:00
2026-06-23 18:45:43 +08:00
2026-09-19 19:17:29 +00:00
2026-02-25 07:02:54 +08:00
2026-06-23 18:45:43 +08:00
2026-04-13 23:02:11 +08:00
2026-06-11 15:32:28 +08:00
2026-08-06 11:17:03 +08:00
2026-02-25 07:02:54 +08:00
2026-06-11 15:32:28 +08:00
2026-06-23 18:45:43 +08:00
2026-05-01 13:25:37 +08:00
2026-09-17 10:24:18 +08:00
2026-09-17 10:24:18 +08:00
2026-04-01 00:32:49 +08:00
2026-03-02 02:23:50 +08:00
2026-09-05 11:42:39 +08:00
2026-09-05 11:42:39 +08:00
2026-04-08 10:39:43 +08:00
2026-04-08 16:35:19 +08:00
2026-06-15 14:34:46 +08:00
2026-09-17 10:24:18 +08:00
2026-02-23 04:18:01 +08:00
2026-06-18 23:56:54 +08:00
2026-06-15 11:12:44 +08:00
2026-02-23 04:18:01 +08:00
2026-09-19 19:17:29 +00:00
2026-09-19 19:17:29 +00:00
2026-04-01 00:32:49 +08:00
2026-04-01 00:32:49 +08:00
2026-02-25 07:02:54 +08:00
2026-04-08 14:38:25 +08:00