Launcher proxy: keep a proxy's credentials out of messages; build again

An address the launcher can't use as a proxy is printed to stderr by
horizon-port-pack and shown under the Settings field or by `settings set`:
a user name and password in it now read `***`.

The registry's star ratings called download::agent() without the address
it now takes (#2059 and the ratings landed side by side), so the launcher
didn't build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-26 16:25:16 +01:00
parent 1851dc87a7
commit 600b2a1dda
3 changed files with 55 additions and 7 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ fn refresh_ratings() {
}
let at = given.unwrap_or_else(|| RATINGS_URL.to_owned());
let text = if at.starts_with("https://") {
download::agent().get(&at).call().ok().and_then(|r| {
download::agent(&at).get(&at).call().ok().and_then(|r| {
use std::io::Read;
let mut text = String::new();
r.into_reader()