Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8975293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:50:24+00:00 2026-06-15T18:50:24+00:00

Chrome from version 16 became pretty strict on content-disposition headers having unquoted commas. While

  • 0

Chrome from version 16 became pretty strict on content-disposition headers having unquoted commas. While most sites out on the web will face user pressure to fix their servers this is not so easy for small or in-house intranet applications that no one is quite willing to touch.

Thread on Chrome’s forum about the issue, what works and what doesn’t.

Short answer is that the Content-Disposition header, if included, needs to either not have commas in the filename or have filenames quoted.

We have one such system handling document management, touching the codebase is NOT an option, but any files with commas in their names will throw an error in Chrome. how can I fix this?

Doing a bit of a Jeopardy! thing here but not 100% confident on my answer and would appreciate comments/alternatives

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:50:25+00:00Added an answer on June 15, 2026 at 6:50 pm

    You could do this using IIS’s URL Rewrite module which can also work on headers.

    The key will be to match on Content-Disposition which includes filename= and doesn’t have quotemarks for the filename.

    <system.webServer>
        <rewrite>
            <outboundRules>
                <rule name="Chrome Comma Fix">
                    <match serverVariable="RESPONSE_Content_Disposition" pattern="^(.*)(filename=)(?!&quot;)([^&quot;]*)(;.*)?$" />
                    <action type="Rewrite" value="{R:1}{R:2}&quot;{R:3}&quot;{R:4}" />
                </rule>
            </outboundRules>
        </rewrite>
    </system.webServer>
    

    I haven’t yet tested this though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our app supports different browser version from IE to Firefox to Chrome. Now, some
I had recently (and unfortunately) uninstalled the google chrome browser from my computer -while
What do I do so I can reach Microsoft.com from Chrome? I'm having a
I developed manifest version 1 of a chrome extension which takes input from user
Since Chrome updated to v14, they went from version three of the draft to
I upgraded from Chrome version 17 to Chrome: 18.0.1025.142 today. I've noticed one of
I've just updated Chrome from 17 to 18.0.1025.142 and got all the ExtJS charts
HI all, Below mentioned javascript code works fine in all browsers including chrome(from second
An alert/prompt called from chrome extension background pake is shown off the screen (or
Following is some codes and output from the Chrome Developers' Console Case 1: var

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.