Skip to content

[pull] master from kevoreilly:master - #530

Merged
pull[bot] merged 2 commits into
threatcode:masterfrom
kevoreilly:master
Aug 23, 2026
Merged

[pull] master from kevoreilly:master#530
pull[bot] merged 2 commits into
threatcode:masterfrom
kevoreilly:master

Conversation

@pull

@pull pull Bot commented Aug 23, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

doomedraven and others added 2 commits August 23, 2026 06:38
* Fix psycopg v3 integer parameter type mismatch on PostgreSQL

- Coerce task_id and guest task_id to integers in TasksMixIn, GuestsMixIn, and SamplesMixIn database layers to avoid psycopg v3 strict type binding crashes.

- Modernize web/submission/urls.py from re_path to path() using <int:task_id> and <str:resubmit_hash> converters.

- Add a robust unit test suite (test_id_coercion_robustness) in tests/test_database.py.

* Modernize remaining select URL files (guac, compare, audit) to use path() converters

- Convert all legacy re_path() occurrences in guac, compare, and audit url configurations to modern path() routing.

- This enforces native integer parameters (int:task_id, int:left_id, int:right_id, etc.) at the HTTP router boundary.
… detection to prevent recursion crashes (#3190)

Co-authored-by: doomedraven <doomedraven@MacBook-Pro-de-doomedraven-2.local>
@pull pull Bot locked and limited conversation to collaborators Aug 23, 2026
@pull pull Bot added the ⤵️ pull label Aug 23, 2026
@pull
pull Bot merged commit 50e5dcd into threatcode:master Aug 23, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant