From: Ian Jackson Date: Sat, 5 Dec 2020 17:16:08 +0000 (+0000) Subject: do not encode - in account names X-Git-Tag: otter-0.2.0~269 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0eb64db0e934d425496e223e212e7939da0a5b1b;p=otter.git do not encode - in account names Signed-off-by: Ian Jackson --- 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 => {