eclipse-ee4j / eclipse-ee4j/jersey
File name contains the complete file path when uploaded from IE11
Open
filename
ie
ie11
Priority: Major
Type: Bug
upload
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
When the IE security setting "Include local directory path when uploading files to a server" is set to Enabled, the file name that we get is the complete path of the file.
Header being sent:
Content-Disposition: form-data; name="file"; filename="c:\folder\filename.txt"
File name returned by Jersey : "c:folderfilename.txt". (The path is not trimmed.)
Ideally it should be "filename.txt".
#### Environment
IE11
Contributor guide
Assessment
This issue has not been assessed yet.