mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:45:55 +00:00
do not use iconv in tag_is_valid, data should be utf8 anyway at this point; remove sanity check for iconv because parser does not use it
This commit is contained in:
@@ -3039,10 +3039,6 @@
|
||||
if (preg_match("/^[0-9]*$/", $tag)) return false;
|
||||
if (mb_strlen($tag) > 250) return false;
|
||||
|
||||
if (function_exists('iconv')) {
|
||||
$tag = iconv("utf-8", "utf-8", $tag);
|
||||
}
|
||||
|
||||
if (!$tag) return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user