1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:55:56 +00:00

Sanitize language obtained for an entry.

This commit is contained in:
Tobias Kappé
2018-08-12 16:12:34 +01:00
parent 22a866edb5
commit 3bbaf902ab

View File

@@ -637,7 +637,7 @@ class RSSUtils {
$entry_link = rewrite_relative_url($site_url, $item->get_link());
$entry_language = $item->get_language();
$entry_language = mb_substr(trim($item->get_language()), 0, 2);
_debug("title $entry_title", $debug_enabled);
_debug("link $entry_link", $debug_enabled);