• MODX.com

    1,068 downloads

SanitizeUpload

SanitizeUpload is an extra by Magnatron, first released on 2013-10-02.

Package Description

The SanitizeUpload plugin sanitizes the name of any file uploaded in the manager.

While uploads are checked for the right type and size by default in MODx, they are not checked for web-save filenames. Often, I get clients reaching out to ask "why doesn't my image display" or "all my files disappeared from the manager!". With this (very simple) plugin, that's a thing of the past.

All uploaded files are renamed to replace any non-alphanumeric/period/dash/underscore characters with an underscore.

Usage/Installation Instructions

Just install the extra to have the uploaded filenames sanitized.

Details

Developer(s)
Magnatron
Released
2013-10-21
First seen
2013-10-02
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.1

SanitizeUpload Releases

Vendor Signature Released on
MODX.com 1.0.0-rc-1 2013-10-21 (5 years ago)