When having restricted file uploading it fails to restrict list on subsequent upload

Bug #1859127 reported by Robert Lyon on 2020-01-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Status tracked in 20.04
Robert Lyon

Bug Description

To Test:

Set in your config.php:

 $cfg->validfiletypes = 'jpeg,jpg';

Then upload a file from a directory on your system contaning many types of files (inc jpg files)

On first upload you can only see a list of .jpg files
But on second upload you see all files

Robert Lyon (robertl-9) on 2020-01-10
Changed in mahara:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Robert Lyon (robertl-9)
milestone: none → 20.04.0

Reviewed: https://reviews.mahara.org/10709
Committed: https://git.mahara.org/mahara/mahara/commit/c5910518c2f87b3054c1a108986c99a92790fca3
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit c5910518c2f87b3054c1a108986c99a92790fca3
Author: Robert Lyon <email address hidden>
Date: Fri Jan 10 18:41:37 2020 +1300

Bug 1859127: Keep the upload restriction in play

On the subsequent file upload


Change-Id: I46aaa83a1b2ae09bfb89f5645046f1c932b7b586
Signed-off-by: Robert Lyon <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers