[AUTOMATED] Attach a restricted Mimetype file disguised as an allowed Mimetype file

Last modified by Ilie Andriuta on 2026/04/20 11:33

Home Web Tests Home Run Test

Steps to reproduce

  1. Login as Admin
  2. Go to Administer Wiki > Content > Attachments Restriction
  3. Under "Allowed Mimetypes", insert some file types to be allowed (e.g. text/plain)
  4. Under "Blocked Mimetypes", insert some file types to be restricted (e.g. image/*)
  5. Save
  6. Have an image file with an extension changed to .txt or use the one attached to this page
  7. Login as an user
  8. Go to a page and upload this file

Expected results

The file cannot be attached, an error is displayed.

Automation Status

Automated

Results

per page of Page
Jira Issue
Warning
The environment prevents the table from loading data.
 
Page

Get Connected