Remove implicit tostring() from digest module
Raise an error for non-string arguments instead of trying to handle digest.crc32(12345LL) as digest.crc32('12345LL') This is a breaking change. Fixes #1561
Showing
- src/lua/crypto.lua 4 additions, 7 deletionssrc/lua/crypto.lua
- src/lua/digest.lua 22 additions, 13 deletionssrc/lua/digest.lua
- test/app/crypto.result 22 additions, 11 deletionstest/app/crypto.result
- test/app/crypto.test.lua 4 additions, 0 deletionstest/app/crypto.test.lua
- test/app/digest.result 180 additions, 45 deletionstest/app/digest.result
- test/app/digest.test.lua 63 additions, 15 deletionstest/app/digest.test.lua
Loading
Please register or sign in to comment