Skip to content

v2.1.0 - Hashids salt fix

Compare
Choose a tag to compare
@jasny jasny released this 31 Jan 23:48
· 36 commits to master since this release
9593edc

Fix issue with generating a hashids salt. Hashids doesn't accept a binary string as salt, since the salt is converted to a UTF-8 string. In some cases the binary salt was working, but in other cases the mb_detect_encoding() method gave an error.

When updating, please note that confirmation tokens created with v2.0 will not work with v2.1.