Microsoft Edge downloads file with wrong file_name

Issue #14750937 • Assigned to Venkat K.

Details

Author
igor l.
Created
Nov 20, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Found in build #
15.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

If you download a file that contains character like éöàäèü the browser prompt the wrong filename like =utf-8_B_dGVzdCBjb24gc3BhemkgZSDDpMOgw6nDti50eHQ==.txt
The problem is reproducible if you download file using a webapi if I set the filename:

response.Content.Headers.ContentType = new MediaTypeHeaderValue(“application/octet-stream”);
response.Content.Headers.ContentDisposition = new System.Net.Http.Headers.ContentDispositionHeaderValue(“attachment”);
response.Content.Headers.ContentDisposition.FileName = "test éöàäèü.pdf";

the webapi encode the filename using RFC6266 and in chrome and firefox work well but with edge and ie11 does not work.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Venkat K.”

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

    Sign in