fixes #2300 Form redirect issue with file or image uploads
Merge pull request #2319 from dotCMS/issue-2300-form-redirect-issue-with-file-or-image-uploads

fixes #2300 Form redirect issue with file or image uploads