web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

D365 file download issue after Chrome 72 update - file names are enclosed inside single quotes

(3) ShareShare
ReportReport
Posted on by 125

All,

Just a heads-up to D365 community forum members - After chrome browser update to 72.0.3626.81, files downloaded from Chrome have single quotes around files like ‘MyAttachment.pdf’. Due to this issue you will not be able open downloaded file. However, after removing quotes manually from the download file you will be able to open them properly.

 

We are looking at this issue on D365 side to have a proper fix in place but meanwhile as a workaround remove single quotes from downloaded file and then open them or use other browsers like Edge or older version of Google Chrome.

 

More detail about this issue on chromium forums -

bugs.chromium.org/.../detail - "Issue 927913: Filename escaped with single quotes change of behavior Chrome 72"

bugs.chromium.org/.../detail - "Issue 927366: Downloads from Dynamics CRM Instance are saved with quotes"

chromium-review.googlesource.com/.../1286733 - "Header parser: Don't allow single quotes."

*This post is locked for comments

I have the same question (0)
  • ChrisWatson Profile Picture
    65 on at

    Thank you. Do you have an ETA for a fix for this (you mentioned you were looking at the issue from a D365 perspective). I understand from the Chromium team that their change is in order to make their browser 'compliant' with standards and if so then D365 would need to be changed also?

    Thank you

  • Dc1 Profile Picture
    220 on at

    For info il also apply in version 8.2 on premis. can we expect an hot fix from CRM Dynamics 2016 ?

  • Dc1 Profile Picture
    220 on at

    For info it also apply in version 8.2 on premis. can we expect an hot fix from CRM Dynamics 2016 ?

  • Alex Marshall Profile Picture
    30 on at

    I've posted a possible workaround for on-premise users on the chromium bug report: bugs.chromium.org/.../detail

  • Justin Dale Profile Picture
    172 on at

    In addition to Alex's rewrite rule he posted, this one was also posted below it. I think it may be a better one to use (not to take anything away from Alex's solution, thank you very much for your help Alex!). It looks for the filename= pattern instead of only working on the Attachment/Download.aspx URL (may very well be the only place that is affected though).

    <outboundRules>
      <rule name="Content-Disposition filename" preCondition="IsSingleQuoteFileName">
        <match serverVariable="RESPONSE_Content_Disposition" 
          pattern="(.* filename=)('([^'].+)')(.*)" />
        <action type="Rewrite" value="{R:1}&quot;{R:3}&quot;{R:4}" />
      </rule>
      <preConditions>
        <preCondition name="IsSingleQuoteFileName">
          <add input="{RESPONSE_CONTENT_DISPOSITION}" pattern=".* filename='[^'].+'" />
        </preCondition>
      </preConditions>
    </outboundRules>
  • ChrisWatson Profile Picture
    65 on at

    Hello, do we have any timeframe for a fix to this problem for Dyn 365 int the cloud please?

  • Prabhat Pandey - MSFT Profile Picture
    125 on at

    This is getting fixed in Dynamics v9.1 online and v8.2 online version for Email->Attachment download scenario soon and other download scenarios will also be addressed in phased manner.  

    btw, please also make request to Chromium team at bugs.chromium.org/.../detail ("Issue 927366: Downloads from Dynamics CRM Instance are saved with quotes") to help provide some elective flag for old behavior until various download scenarios are fixed in Dynamics CRM.  Meanwhile please use alternate browsers to workaround this problem.

  • Alex Marshall Profile Picture
    30 on at

    JustinCredibly, I fully accept that that is a better pattern!  I advise others to use that over my solution.

  • Community Member Profile Picture
    on at

    My clever colleague has created an extension for Chrome that basically renames the files to remove both the leading and trailing quotes when downloading files:

    chrome.google.com/.../ooddnpkpabbgcliomlijjfolcbjdhgkk

    'CRM Rename' on the Chrome Web Store

  • Kokulan Profile Picture
    18,054 on at

    Do we have an ETA on the fix for this? We have quite a few customers using Chrome and we as an ISV also heavily use Chrome for most of our development work. I really hope a hot-fix will be pushed soon.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans