mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-06 16:29:15 +00:00
fix proper escaping of label titles (closes #255)
This commit is contained in:
@@ -450,7 +450,8 @@
|
||||
$ids = split(",", db_escape_string($_REQUEST["ids"]));
|
||||
$label_id = db_escape_string($_REQUEST["lid"]);
|
||||
|
||||
$label = label_find_caption($link, $label_id, $_SESSION["uid"]);
|
||||
$label = db_escape_string(label_find_caption($link, $label_id,
|
||||
$_SESSION["uid"]));
|
||||
|
||||
print "<rpc-reply>";
|
||||
print "<info-for-headlines>";
|
||||
@@ -485,7 +486,8 @@
|
||||
$ids = split(",", db_escape_string($_REQUEST["ids"]));
|
||||
$label_id = db_escape_string($_REQUEST["lid"]);
|
||||
|
||||
$label = label_find_caption($link, $label_id, $_SESSION["uid"]);
|
||||
$label = db_escape_string(label_find_caption($link, $label_id,
|
||||
$_SESSION["uid"]));
|
||||
|
||||
print "<rpc-reply>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user