mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
feat(announcer): Added is_numeric()
checking for some fields (#1766)
This commit is contained in:
parent
b36e4274cc
commit
096bb5124f
2 changed files with 6 additions and 5 deletions
|
@ -68,7 +68,7 @@ if (!empty($info_hash_count)) {
|
|||
|
||||
/**
|
||||
* Currently torrent clients send truncated v2 hashes (the design raises questions).
|
||||
* https://github.com/bittorrent/bittorrent.org/issues/145#issuecomment-1720040343
|
||||
* @see https://github.com/bittorrent/bittorrent.org/issues/145#issuecomment-1720040343
|
||||
*/
|
||||
$info_hash_where = "tor.info_hash IN ('$info_hashes_sql') OR SUBSTRING(tor.info_hash_v2, 1, 20) IN ('$info_hashes_sql')";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue