MODX EXTRA

SanitizeUpload

Creator: Magnatron (magnatron)

Download (4 KB)

Screenshots

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 Versions
2.1 – 2.2
Downloads
1,301
License
GPLv2

New in SanitizeUpload 1.0.0-rc1

There are no release notes for this version.

More

More from Magnatron

FM

FlashMessage

Easily create RoR style flash messages that survive reloads and redirects.

ST

SaveTrash

When a manager removes the deleted resources from the trash, this…

AT

AutoTemplate

The AutoTemplate plugin sets a new document's template automatically…