WordPress.org

Ready to get started?Download WordPress

Forums

WP-Filebase Download Manager
Add filter to sanitize filenames (2 posts)

  1. Daniel Koskinen
    Member
    Posted 11 months ago #

    Hi! We're enjoying using your plugin, but have run into some trouble on our specific server setup with filenames including special characters, the configuration of which is unfortunately out of our control.

    We could easily work around this by doing some additional sanitization to filenames on upload, if your plugin had a filter that allowed renaming the file. Would it be possible for you to add this functionality? No need to actually do any sanitizing yourself, just add an $filename = apply_filters( 'wpfb_filename', $filename ) somewhere :)

    http://wordpress.org/plugins/wp-filebase/

  2. Daniel Koskinen
    Member
    Posted 11 months ago #

    I might add that an even better option would probably to use WP's built-in media upload functionality instead of your own versions of plupload, swfupload etc...

Reply

You must log in to post.

About this Plugin

About this Topic