1
0
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:
Nils Adermann 2010-05-02 23:43:46 +02:00
commit e09ab8a4c5

View File

@ -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)
{ {