From a5e36544d47c5d65cde3d33079cb0da16ea08504 Mon Sep 17 00:00:00 2001 From: disqualifier Date: Mon, 29 Jun 2026 21:41:36 -0400 Subject: [PATCH] docs: note url()/aiohttp() percent-encode proxy credentials Signed-off-by: disqualifier --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f7e4b68..9efaefa 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ p.key() # "1.2.3.4:8080:user:pass" (canonical identity; "host:port" if a Auth-less (IP-authenticated) proxies are first-class: `"host:port"` parses and every render shape omits the credentials. The 4-part form splits on the first three colons, so a password may itself contain colons (`host:port:user:pa:ss:word`). +`url()` / `aiohttp()` percent-encode the credentials, so reserved characters +(`/ # ? @`) in a user or password still produce a valid URL. ## Sources