Forums

Nmedia Users File Uploader Plugin
sanitize_text_field problem (2 posts)

  1. marco-polo
    Member
    Posted 5 months ago #

    Hi.
    Thanks for your plugin.

    If an user upload a file with more white spaces in the filename your script use sanitize_text_field to delete them. But now there are a difference between the real file name and the fileName in data base.

    Ok, we can replace sanitize_text_field($_POST['file-name']); with $_POST['file-name']; in upload-form.php but it is the best solution?

    http://wordpress.org/extend/plugins/nmedia-user-file-uploader/

  2. nmedia (najeebmedia.com)
    Member
    Plugin Author

    Posted 5 months ago #

    Yes you can replace it, there won't be any issue.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.