IE11 does not send valid content-disposition header when sending file via <input type=file>

Won’t fix Issue #9440110

Details

Created
Oct 20, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

1.Access some website that has <input type=file>
2.Enable “Include local directory path when uploading files to a server” in “Internet Options”
3.Open F12 Developer tool and start network capture.
4.Send local file to server.
5.See sent request.
Expected result:
Sends filename using
Content-Disposition: form-data; name="file"; filename="C:\upload\file.ext"
Actual result:
Sends filename using
Content-Disposition: form-data; name="file"; filename="C:\upload\file.ext"

because \ in quoted-string should be quoted as \ (RFC 2045)

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

    • Sorry. expected result should be
      Content-Disposition: form-data; name="file"; filename="C:\\upload\\file.ext"

      Because \ in quoted-string should be quoted as \\ (RFC 2045)

    • Microsoft Edge Team

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Brad E.”

      Changed Assigned To from “Brad E.” to “Venkat K.”

      Changed Assigned To to “Saty B.”

      Changed Status to “Won’t fix”

    You need to sign in to your Microsoft account to add a comment.

    Sign in