SanitizeUpload

sanitizeupload

  • By Magnatron
  • Latest release October 21, 2013 (13 years ago)

About

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.

Installation & usage

Just install the extra to have the uploaded filenames sanitized.

At a glance

MODX 3 compatibility unknown. Based on our testing and community reports where available.

  • Developer Magnatron
  • Latest release October 21, 2013 (13 years ago)
  • First seen in SiteDash October 2, 2013 (13 years ago)
  • License GPLv2
  • MODX support 2.1 – 2.2
  • Databases MySQL

Releases 1 indexed release

Changelog
MODX.com

1.0.0-rc-1

October 21, 2013

13 years ago

—