From 060aa4e7dd4d917cd58bd026b4a0892d3416048c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 29 Feb 2024 17:31:31 +0100 Subject: [PATCH] Trim trailing equal in short --- Util/SluggerUtil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Util/SluggerUtil.php b/Util/SluggerUtil.php index d88cdfd..5c84ca8 100644 --- a/Util/SluggerUtil.php +++ b/Util/SluggerUtil.php @@ -174,7 +174,7 @@ class SluggerUtil { } //Send result - return str_replace(['+','/'], ['-','_'], base64_encode($ret)); + return str_replace(['+','/','='], ['-','_',''], base64_encode($ret)); } /** -- 2.41.1