mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-26 13:04:24 +01:00
Merge branch 'ticket/bantu/9170' into develop-olympus
* ticket/bantu/9170: [ticket/9170] Unable to get image size in img bbcode when URL has multiple parameters.
This commit is contained in:
commit
e09ab8a4c5
@ -300,7 +300,7 @@ class bbcode_firstpass extends bbcode
|
|||||||
|
|
||||||
if ($config['max_' . $this->mode . '_img_height'] || $config['max_' . $this->mode . '_img_width'])
|
if ($config['max_' . $this->mode . '_img_height'] || $config['max_' . $this->mode . '_img_width'])
|
||||||
{
|
{
|
||||||
$stats = @getimagesize($in);
|
$stats = @getimagesize(htmlspecialchars_decode($in));
|
||||||
|
|
||||||
if ($stats === false)
|
if ($stats === false)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user