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

Impossible to properly upload image if no proper mimetype guessers enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-RC4
    • 3.1.0-dev, 3.1.0-RC3
    • Posting
    • None

      It's currently impossible to upload an image if the mimetype guesser doesn't have any proper mimetype guessers enabled. Even if the browser sends the image/png mimetype using the upload form, the mimetype guesser will overwrite it with application/octet-stream as it's not able to properly guess a mimetype. This will prevent people from uploading perfectly valid images on i.e. Windows and should be fixed by undoing this commit:
      https://github.com/phpbb/phpbb/commit/4eb7485b397733c8765f8bd37a04b7a034b29792

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

              Created:
              Updated:
              Resolved: