• Resolved ceedric

    (@ceedric)


    Hi

    I’have had problem with files containing illegal characters (like apostrophe).

    Filenames should be sanitized before uploading. I suggest sanitizing the filename in WP_ExternalPluginBase.php :

    public function save_remote_file(…) {

    $filename=sanitize_file_name($filename);

    https://wordpress.org/plugins/external-media/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sanitize file name’ is closed to new replies.