Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Server
Tiny Tiny RSS
Commits
823da71a
Commit
823da71a
authored
Nov 07, 2011
by
Andrew Dolgov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api/getArticle: validate id list
parent
edfab7bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api/index.php
api/index.php
+1
-1
No files found.
api/index.php
View file @
823da71a
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment