#2976 when uploading filename lose its trailing spaces at begin and end
Merge pull request #2977 from dotCMS/issue-2976-file-upload

#2976 when uploading filename lose its trailing spaces at begin and end