Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

When I download a pdf-file the filename is with superfluous characters as %20%

  • 4 replies
  • 3 have this problem
  • 27 views
  • Last reply by cor-el

more options

See image: on the left side the filename which is automatically given. On the right side how the real filename has to be. In other browsers I don't have this problem.

See image: on the left side the filename which is automatically given. On the right side how the real filename has to be. In other browsers I don't have this problem.

All Replies (4)

more options

Here is the image

more options

%20 is the escape code for a space character, so you can see this %20 in case a file name contains one or more space. I'm not sure whether Firefox is supposed to show the %20 as part of the file name when you save a file.

How are these files send?

Is that via a content-disposition header or are you saving the files as a normal link (Save Link As)?

Just to be sure that an extension isn't interfering:

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window
more options

Thank you for your help, but it didn't work. The %20 are still there. I turned add-ons off. Save mode did't help... This is a file I downloaded witch Chrome: NS wil netwerk uitbreiden met regiolijnen.pdf This file I downloaded with Firefox: NS%20wil%20netwerk%20uitbreiden%20met%20regiolijnen.pdf

more options

I can confirm this.

The Network Monitor shows:

Content-Type: application/pdf
Content-Disposition: attachment;filename=NS%20wil%20netwerk%20uitbreiden%20met%20regiolijnen.pdf

I don't how to prevent Firefox from showing the escaped file name.