Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9170

Unable to get image size in img bbcode when URL has multiple parameters.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.7-PL1
    • Fix Version/s: 3.0.8-RC1
    • Component/s: Posting
    • Labels:
      None

      Description

      I'm trying to put the image in bbcode like this:

      [img]http://forum.kia-club.ru/gallery/image.php?album_id=18&image_id=23662[/img]

      and get the error message: "It was not possible to determine the dimensions of the image."
      Fixed by change in the includes/message_parser.php the string

      			$stats = @getimagesize($in);

      to

      			$stats = @getimagesize(html_entity_decode($in));

        Attachments

          Activity

            People

            Assignee:
            bantu Andreas Fischer
            Reporter:
            nissin nissin [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: