#1477 mod_auth_internal_hashed ignores type validation in SCRAM hash function

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.11
  • Status-Fixed
  • Type-Defect
  • Priority-Medium
  1. Zash on

    require"core.usermanager".create_user("test", {not "string"}, "example.com") Expected: nil, "inappropriate argument types" Actual: Error: ./util/hex.lua:19: bad argument #1 to 's_gsub' (string expected, got nil)

  2. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/b1ca849b8e3a

    Changes
    • tags Status-Fixed
    • owner Zash

New comment

Not published. Used for spam prevention and optional update notifications.