From 5e31143270b5bd50afe9e98eda19f09cfe224c03 Mon Sep 17 00:00:00 2001 From: Avril Date: Wed, 18 Nov 2020 01:53:11 +0000 Subject: [PATCH] added modbase64 --- src/conv.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conv.rs b/src/conv.rs index ad61758..9ee8bf3 100644 --- a/src/conv.rs +++ b/src/conv.rs @@ -14,9 +14,9 @@ const BASE64_VALIDATE_RE_STR: &'static str = r#"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z lazy_static!{ static ref BASE64_CONV_TABLE: smallmap::Map = smallmap![ - {'/' => 'ł'}, - {'+' => 'þ'}, - {'=' => 'ø'}, + {'/' => '_'}, + {'+' => 'ł'}, + {'=' => '-'}, ]; static ref BASE64_CONV_TABLE_REV: smallmap::Map = BASE64_CONV_TABLE.clone().reverse();