• fix(provider): scan rejects non-dict sort with InvalidArguments, never AttributeError

    vh released this 2026-07-15 08:39:30 -07:00 | 124 commits to main since this release

    heid-bug-hunt panel (Gróa + Hulda, confirmed-from-code) caught that a truthy
    non-dict sort (e.g. sort="updated_at" or sort=["updated_at"]) reached
    (sort or {}).get(...) and crashed with AttributeError instead of the
    InvalidArguments PRE-003 promises for malformed caller-controlled input. Add an
    isinstance guard before field extraction. Test covers str/list/int sort values.

    Downloads