From: Raphaƫl Gertz Date: Thu, 29 Feb 2024 16:31:31 +0000 (+0100) Subject: Trim trailing equal in short X-Git-Tag: 0.4.0~32 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/060aa4e7dd4d917cd58bd026b4a0892d3416048c?ds=sidebyside Trim trailing equal in short --- 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)); } /**