1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 00:45:55 +00:00

enforce length limits in ttrss_entries

This commit is contained in:
Andrew Dolgov
2007-07-16 13:46:21 +01:00
parent 2e918d9d02
commit 2544f36b6f

View File

@@ -633,7 +633,8 @@
$entry_title = db_escape_string($entry_title);
$entry_link = db_escape_string($entry_link);
$entry_comments = db_escape_string($entry_comments);
$entry_comments = mb_substr(db_escape_string($entry_comments), 0, 250);
$entry_author = mb_substr($entry_author, 0, 250);
$num_comments = db_escape_string($item["slash"]["comments"]);