#1477 mod_auth_internal_hashed ignores type validation in SCRAM hash function

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Type-Defect
  • Status-Fixed
  • Priority-Medium
  • Milestone-0.11
  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
    • owner Zash
    • tags Status-Fixed

New comment

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