mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-17 12:31:29 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -3039,10 +3039,6 @@
|
|||||||
if (preg_match("/^[0-9]*$/", $tag)) return false;
|
if (preg_match("/^[0-9]*$/", $tag)) return false;
|
||||||
if (mb_strlen($tag) > 250) return false;
|
if (mb_strlen($tag) > 250) return false;
|
||||||
|
|
||||||
if (function_exists('iconv')) {
|
|
||||||
$tag = iconv("utf-8", "utf-8", $tag);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!$tag) return false;
|
if (!$tag) return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -138,10 +138,6 @@
|
|||||||
array_push($errors, "PHP support for ctype functions are required by HTMLPurifier.");
|
array_push($errors, "PHP support for ctype functions are required by HTMLPurifier.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!function_exists("iconv")) {
|
|
||||||
array_push($errors, "PHP support for iconv is required to handle multiple charsets.");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* if (ini_get("safe_mode")) {
|
/* if (ini_get("safe_mode")) {
|
||||||
array_push($errors, "PHP safe mode setting is not supported.");
|
array_push($errors, "PHP safe mode setting is not supported.");
|
||||||
} */
|
} */
|
||||||
|
|||||||
Reference in New Issue
Block a user