Skip to content

Media browser filename containing "&" issues.  #13412

Closed
@BigBlockStudios

Description

@BigBlockStudios

Summary

Users can upload but rename or delete files containing linux metacharacters (&) in the file name. only tested the ampersand (&).
Trying to rename the file results in an error: The webserver does not have the necessary permissions to update the directory.
Try to delete the file gives error: Please specify a valid directory.: /vhome/accordfinancial.com/httpdocs/assets/AAA&AAA.pdf

file had to be manually removed VIA the shell

Step to reproduce

Upload and try to manipulate a file with "&" in the name.

Environment

Modx Version 2.5.4 running on centOS 6xx
PHP Version 5.4.45

Metadata

Metadata

Assignees

Labels

area-corebugThe issue in the code or project, which should be addressed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions