From 27339aeaf8aafe33b094689249715dcf4add6d2f Mon Sep 17 00:00:00 2001 From: Jan Slabon Date: Wed, 18 Nov 2020 14:41:27 +0100 Subject: [PATCH] Update authentication-for-private-packages.md Added some information about encoding of username and password for "Inline http-basic" authentication. --- doc/articles/authentication-for-private-packages.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/articles/authentication-for-private-packages.md b/doc/articles/authentication-for-private-packages.md index ea7e648a7..1c065cb6d 100644 --- a/doc/articles/authentication-for-private-packages.md +++ b/doc/articles/authentication-for-private-packages.md @@ -142,6 +142,9 @@ For the inline http-basic authentication method the credentials are not stored i `auth.json` in the project or globally, but in the `composer.json` or global configuration in the same place where the Composer repository definition is defined. +Make sure that the username and password are encoded according to [RFC 3986](http://www.faqs.org/rfcs/rfc3986.html) (2.1. Percent-Encoding). +If the username e.g. is an email address it needs to be passed as `name%40example.com`. + ### Command line inline http-basic ```sh