diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-06-19 13:26:20 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-06-19 13:26:20 +0300 |
| commit | ef7d52f85dfe611d536fcb96c3a61db1b8b67481 (patch) | |
| tree | de050bf0171f4a211c4e8e91196b706c4db10fbf /classes/Handler/ListHandler.php | |
| parent | 8eb610074f829cdcbbac035340318601fa41af5c (diff) | |
| download | the-epube-ef7d52f85dfe611d536fcb96c3a61db1b8b67481.tar.gz the-epube-ef7d52f85dfe611d536fcb96c3a61db1b8b67481.tar.xz | |
deal with some potential minor xss issues
Diffstat (limited to 'classes/Handler/ListHandler.php')
| -rw-r--r-- | classes/Handler/ListHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Handler/ListHandler.php b/classes/Handler/ListHandler.php index e8a5916..6ecec7d 100644 --- a/classes/Handler/ListHandler.php +++ b/classes/Handler/ListHandler.php @@ -32,7 +32,7 @@ class ListHandler implements RequestHandlerInterface, AuthRequired $fav_ids = []; while ($line = $fav_sth->fetch()) { - array_push($fav_ids, $line["bookid"]); + array_push($fav_ids, (int) $line["bookid"]); } if (empty($fav_ids)) { |
