]> git.p6c8.net - jirafeau/jirafeau.git/commit
More validation of async ref and code strings
authorPatrick Canterino <patrick@patrick-canterino.de>
Thu, 15 Oct 2026 12:36:16 +0000 (14:36 +0200)
committerPatrick Canterino <patrick@patrick-canterino.de>
Thu, 15 Oct 2026 12:36:16 +0000 (14:36 +0200)
commitd8f5ef38cba8d5332711d623582933669aeeb2f3
tree409f6142bcce8527df33f9fb8e7c2dc768b2f15d
parent2d5f96c44be85bab39fa867e27048db4f5ab7a3b
More validation of async ref and code strings

Ref string MUST be 32 characters, code string MUST be 4 characters.

Code string MUST be a valid hex string.

Compare code using hash_equals().
lib/functions.php
lib/settings.php

patrick-canterino.de