]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Util/SluggerUtil.php
Trim trailing equal in short
[packbundle] / 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));
        }
 
        /**
        }
 
        /**