Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17580

Downloading files with a byte range of 8192 bytes causes fatal error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0.0-a2, 3.3.16-RC1
    • 3.3.15
    • None
    • None

      Partial downloads of a file from phpBB, such as an attachment, using content ranges of 8192 bytes or a multiple thereof causes a fatal error in php. This can be reproduced using curl and the --range option.

      // Fetch the first 8192 bytes of a file
      curl --range 0-8191 https://example.com/phpBB/download/file.php?id=1234

            Marc Marc
            NeoDev NeoDev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: