From c8ac10404316eee5a67eebfe5542a5e91e8b22c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B6xtermann?= Date: Sat, 23 Aug 2025 16:34:50 +0200 Subject: [PATCH] Fix base64 snippets in Publishing -w0 is usually needed for longer outputs --- docs/publish.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/publish.md b/docs/publish.md index 6f4c2f66..ca0b5547 100644 --- a/docs/publish.md +++ b/docs/publish.md @@ -3679,13 +3679,13 @@ authParam = base64_raw(authHeader) // -> QmFzaWMgZEdWemRIVnpaWEk2Wm1GclpYQmhjM0 The following command will generate the appropriate value for you on *nix systems: ``` -echo -n "Basic `echo -n 'testuser:fakepassword' | base64`" | base64 | tr -d '=' +echo -n "Basic `echo -n 'testuser:fakepassword' | base64 -w0`" | base64 -w0 | tr -d '=' ``` For access tokens, you can use this instead: ``` -echo -n "Bearer faketoken" | base64 | tr -d '=' +echo -n "Bearer faketoken" | base64 -w0 | tr -d '=' ``` ## Advanced features