Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

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

  • 4 одговорa
  • 3 имају овај проблем
  • 27 прегледа
  • Последњи одговор послао 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.

Сви одговори (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.