Microsoft Edge downloads file with wrong file_name

Issue #14750937 • Assigned to Divya G.


igor l.
Nov 20, 2017
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Found in build #
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.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Divya G.”

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

    Sign in