From 9adc32a6e2601c820a6f8bdf18fedf081623ec5a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 23 Jun 2026 17:07:34 +0200 Subject: [PATCH] test 679: add a quoted string name in a netrc test By using quotes a user name can have a space in netrc Closes #22147 --- tests/data/test679 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/data/test679 b/tests/data/test679 index 478e2d2579..6b995e3d10 100644 --- a/tests/data/test679 +++ b/tests/data/test679 @@ -30,13 +30,13 @@ Funny-head: yesyes http -netrc with quoted password +netrc with quoted username and password --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ -machine %HOSTIP login user1 password "with spaces and \"\n\r\t\a" +machine %HOSTIP login "user one" password "with spaces and \"\n\r\t\a" @@ -45,7 +45,7 @@ machine %HOSTIP login user1 password "with spaces and \"\n\r\t\a" GET / HTTP/1.1 Host: %HOSTIP:%HTTPPORT -Authorization: Basic %b64[user1:with%20spaces%20and%20"%0a%0d%09a]b64% +Authorization: Basic %b64[user%20one:with%20spaces%20and%20"%0a%0d%09a]b64% User-Agent: curl/%VERSION Accept: */*