diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-07-17 22:02:32 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-07-17 22:02:32 +0200 |
commit | c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1 (patch) | |
tree | e2e0a7e2035600a339e24c1aff9103c9623d9693 /phpBB/phpbb/textformatter/s9e/parser.php | |
parent | b5a997ce183fa655af4c03b5f92a58a1a3e7c2f1 (diff) | |
download | forums-c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1.tar forums-c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1.tar.gz forums-c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1.tar.bz2 forums-c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1.tar.xz forums-c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1.zip |
[ticket/security/243] Limit size BBCode to 4 numeric characters
SECURITY-243
Diffstat (limited to 'phpBB/phpbb/textformatter/s9e/parser.php')
-rw-r--r-- | phpBB/phpbb/textformatter/s9e/parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/parser.php b/phpBB/phpbb/textformatter/s9e/parser.php index e30bc2b0d9..1bc56a8cb4 100644 --- a/phpBB/phpbb/textformatter/s9e/parser.php +++ b/phpBB/phpbb/textformatter/s9e/parser.php @@ -339,7 +339,7 @@ class parser implements \phpbb\textformatter\parser_interface */ static public function filter_font_size($size, $max_size, Logger $logger) { - if (!is_int($size)) + if (!is_numeric($size)) { $logger->err('INVALID_FONT_SIZE', ['invalid_size' => htmlspecialchars($size)]); |