]> Raphaël G. Git Repositories - packbundle/commitdiff
Trim trailing equal in short
authorRaphaël Gertz <git@rapsys.eu>
Thu, 29 Feb 2024 16:31:31 +0000 (17:31 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 29 Feb 2024 16:31:31 +0000 (17:31 +0100)
Util/SluggerUtil.php

index d88cdfdc6fa84c3798a92092980fbf2a72a723c8..5c84ca804ffb8467424d8b8f8674bb054d974013 100644 (file)
@@ -174,7 +174,7 @@ class SluggerUtil {
                }
 
                //Send result
                }
 
                //Send result
-               return str_replace(['+','/'], ['-','_'], base64_encode($ret));
+               return str_replace(['+','/','='], ['-','_',''], base64_encode($ret));
        }
 
        /**
        }
 
        /**