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

Fileupload form should not set invalid attributes for file input

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.9
    • 3.1.11-RC1
    • Posting
    • None

    Description

      Was validating part of an extension I coded when I cam across some validation errors. I tested on a clean install and the issue still appeared.

      Error: Attribute value not allowed on element input at this point.

      <input type="file" name="fileupload" id="fileupload" maxlength="0" value="" class="inputbox autowidth" />
      

      Error: Attribute maxlength is only allowed when the input type is email, password, search, tel, text, or url.

      <input type="file" name="fileupload" id="fileupload" maxlength="0" value="" class="inputbox autowidth" />
      

      Attachments

        Activity

          People

            Marc Marc
            kinerity Kailey Truscott [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: