From 53915af37e2e45bdde5b1da654538cd8658983bb Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 21 Mar 2026 13:57:28 +0100 Subject: [PATCH] url.c fix mask --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index c8a1fb276e..352826915b 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1815,7 +1815,7 @@ static CURLcode setup_connection_internals(struct Curl_easy *data, /* IPv6 addresses with a scope_id (0 is default == global) have a * printable representation with a '%' suffix. */ if(conn->scope_id) - conn->destination = curl_maprintf("[%s:%u]%%%d", hostname, port, + conn->destination = curl_maprintf("[%s:%u]%%%u", hostname, port, conn->scope_id); else #endif