Closed Bug 1320820 Opened 8 years ago Closed 8 years ago

input type=file firefox adding forward slash to file name

Categories

(Firefox :: Untriaged, defect)

50 Branch
Unspecified
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1319088

People

(Reporter: atul.hkaushal, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Steps to reproduce:

Created an input type="file" control. When I tried to upload file, firefox is adding forward slash in front of file name. 
Because of this forward slash application is trying to find file under different location and use case is failing.




Actual results:

Content-Disposition: form-data; name="upload1"; filename="/test.txt"
Content-Type: text/plain


Expected results:

Content-Disposition: form-data; name="upload1"; filename="test.txt"
Content-Type: text/plain
Firefox version: 50.0.1
OS: Unspecified → Windows 7
It will be fixed in 50.1.0 soon.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.