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

PHP notice when disallow file extension of posted attachment while debug enabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.2.2, 3.1.12
    • None
    • ACP
    • None

    Description

      1) Enable DEBUG mode by adding the relevant line to config.php:

       

      @define('DEBUG', true);

      2) Post some attachment with allowed file extension, f.e. .zip

      3) Disallow that example zip file extension

      4) Enter the Manage attachments ACP module and get PHP notice like

      [phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_attachments.php on line 1273: Undefined index: zip

      Attachments

        Activity

          People

            Unassigned Unassigned
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: