SanitizeUpload Icon

SanitizeUpload

By Magnatron (magnatron)

SanitizeUpload first screenshot

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.

Magnatron


New in SanitizeUpload 1.0.0-rc1

There are no release notes for this version.

More

Information

Released
October 21, 2013
Supported Versions
2.1 – 2.2
Downloads
1,206
License
GPLv2

More from Magnatron

F
FlashMessage

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

View
SaveTrash

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

View
AutoTemplate

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

View