From 0eb64db0e934d425496e223e212e7939da0a5b1b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 5 Dec 2020 17:16:08 +0000 Subject: [PATCH] do not encode - in account names Signed-off-by: Ian Jackson --- src/accounts.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/accounts.rs b/src/accounts.rs index 789d019b..ee3b66fd 100644 --- a/src/accounts.rs +++ b/src/accounts.rs @@ -119,8 +119,9 @@ impl AccountScope { > (&'out self, ns: NS, mut f: F) { - const ENCODE : &percent_encoding::AsciiSet = - percent_encoding::NON_ALPHANUMERIC; + const ENCODE : percent_encoding::AsciiSet = + percent_encoding::NON_ALPHANUMERIC + .remove(b'-'); match &self { AS::Server => { -- 2.30.2