Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2361

Cannot upload a file with name containing a '=' or a ';'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.12
    • 2.1.13
    • * Cocoon Core
    • None

    Description

      The RFC allows eg.
      {code}Content-Disposition: form-data; name="file"; filename="6008160736474408812-account_id=1.jpg"{code}

      but the MultiPartParser tokenizes on the '=' Inside the filename, leading to incorrect file name after upload

      Attachments

        Activity

          People

            Unassigned Unassigned
            cdamioli Cédric Damioli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: