From 23a3235c7e1b4ee9be579281cae1f2663d804a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Wed, 25 Jun 2025 10:51:38 +0200 Subject: [PATCH] v0.0.582 --- goextVersion.go | 4 ++-- langext/base64.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/goextVersion.go b/goextVersion.go index baf9336..c536c4e 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.581" +const GoextVersion = "0.0.582" -const GoextVersionTimestamp = "2025-06-25T10:28:54+0200" +const GoextVersionTimestamp = "2025-06-25T10:51:38+0200" diff --git a/langext/base64.go b/langext/base64.go index 3439f4c..82c57e7 100644 --- a/langext/base64.go +++ b/langext/base64.go @@ -18,7 +18,7 @@ func DecodeBase64Any(data string) ([]byte, error) { data = strings.ReplaceAll(data, "_", "/") // base64_url --> base64_std data = strings.ReplaceAll(data, "-", "+") // base64_url --> base64_std - data = strings.ReplaceAll(data, "=", " ") // no padding + data = strings.ReplaceAll(data, "=", "") // no padding return base64.RawStdEncoding.DecodeString(data) }