feat: gate pasted hashes in the site search

A pasted MD5, CRC32 or SHA256 of scph5501.bin goes through the search
box's hash lookup to the card on the PlayStation page. 54 queries.
This commit is contained in:
Abdessamad Derraz committed 2026-10-27 20:56:14 +01:00
1 parent 8adb84696d
commit 13fc0b90db
2 files changed
+27

No files matched your search

+6
View File
@@ -112,6 +112,12 @@ QUERIES: dict[str, tuple[tuple[str, ...], int]] = {
"r36s": (("platforms/", "which-pack/"), 3),
"steam deck": (("platforms/emudeck/", "platforms/retrodeck/", "which-pack/"), 1),
"knulli": (("platforms/knulli/",), 1),
# A pasted hash of any kind finds the file's card, its hashes now in a
# closed fold: the MD5, CRC32 and SHA256 of scph5501.bin. The search box
# offers "Look up this hash", and the lookup opens the card.
"490f666e1afb15b7362b406ed1cea246": (("systems/sony-playstation/",), 1),
"8d8cb7e4": (("systems/sony-playstation/",), 1),
"11052b6499e466bbf0a709b1f9cb6834a9418e66680387912451e971cf8a1fef": (("systems/sony-playstation/",), 1),
}