mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-07 06:37:44 +02:00
api/getArticle: validate id list
This commit is contained in:
parent
edfab7bd7f
commit
823da71a10
@ -274,7 +274,7 @@
|
||||
|
||||
case "getArticle":
|
||||
|
||||
$article_id = db_escape_string($_REQUEST["article_id"]);
|
||||
$article_id = join(",", array_filter(explode(",", db_escape_string($_REQUEST["article_id"])), is_numeric));
|
||||
|
||||
$query = "SELECT id,title,link,content,feed_id,comments,int_id,
|
||||
marked,unread,published,
|
||||
|
Loading…
Reference in New Issue
Block a user