Skip to content

bigUpload should not store file with uploaded file name in app/cache #5151

Description

@renaudlemaire

When you upload a learnpath, the file is uploaded with his own filename in app/cache.
If the file is already present, the uploaded file content will be appended and the file will be corrupted or possibly too big.
It's also a problem if users upload the same file at the same time.

if ('learnpath' === $_REQUEST['origin'] && !empty($_REQUEST['name'])) {

Metadata

Metadata

Assignees

Labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions