SanitizeUpload

Creator: Magnatron (magnatron)

Need help installing this extra?

About SanitizeUpload

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.

Information

Released
October 21, 2013

Supported Database
MySQL

License
GPLv2

Supported Versions
2.1 - <2.2

Downloads
1,510

Instructions

Just install the extra to have the uploaded filenames sanitized.

Current releases

1.0.0-rc1
View | Download
October 21, 2013
2.1 - <2.2