X
Kliknite sem pre prechod na mobilnú verziu webu.

Fórum podpory

When I try to save video with URL Encoded filename, it saving with wrong filename

  • Žiadne odpovede
  • 1 má tento problém
  • 6 zobrazení
Pridané

Whats wrong?

1. I open an url https://example.com/attachment/faaaf43950e22bd0251230bfdde60023.mp4

2. right click "Save video as"

3. video saved with wrong filename

If I look to HTTP headers, it looks like:

< HTTP/2 200

< content-type: video/mp4

< content-length: 97233423

< server: nginx/1.12.2

< content-disposition: inline; filename="c17m3-1-V2-%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F %D0%B4%D0%B8%D1%81%D0%BA%D0%BE%D0%B2 %28%D0%BB%D0%B5%D0%BD%D1%82%D1%8B%2C %D0%B1%D0%B0%D1%80%D0%B0%D0%B1%D0%B0%D0%BD%D1%8B%2C HDD%29-%5Bdaria%5D.mp4"


so, Firefox saved this file with filename:

c17m3-1-V2-%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F %D0%B4%D0%B8%D1%81%D0%BA%D0%BE%D0%B2 %28%D0%BB%D0%B5%D0%BD%D1%82%D1%8B%2C %D0%B1%D0%B0%D1%80%D0%B0%D0%B1%D0%B0%D0%BD%D1%8B%2C HDD%29-%5Bdaria%5D.mp4


but when I do it with Chrome, file saved with filename:

c17m3-1-V2-История дисков (ленты, барабаны, HDD)-[daria].mp4


So, Firefox don't decode url-encoded filenames.

I tryed https://addons.mozilla.org/ru/firefox/addon/download-filename-encoding/ but it can't work.

Whats wrong? 1. I open an url https://example.com/attachment/faaaf43950e22bd0251230bfdde60023.mp4 2. right click "Save video as" 3. video saved with wrong filename If I look to HTTP headers, it looks like: < HTTP/2 200 < content-type: video/mp4 < content-length: 97233423 < server: nginx/1.12.2 < content-disposition: inline; filename="c17m3-1-V2-%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F %D0%B4%D0%B8%D1%81%D0%BA%D0%BE%D0%B2 %28%D0%BB%D0%B5%D0%BD%D1%82%D1%8B%2C %D0%B1%D0%B0%D1%80%D0%B0%D0%B1%D0%B0%D0%BD%D1%8B%2C HDD%29-%5Bdaria%5D.mp4" so, Firefox saved this file with filename: c17m3-1-V2-%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F %D0%B4%D0%B8%D1%81%D0%BA%D0%BE%D0%B2 %28%D0%BB%D0%B5%D0%BD%D1%82%D1%8B%2C %D0%B1%D0%B0%D1%80%D0%B0%D0%B1%D0%B0%D0%BD%D1%8B%2C HDD%29-%5Bdaria%5D.mp4 but when I do it with Chrome, file saved with filename: c17m3-1-V2-История дисков (ленты, барабаны, HDD)-[daria].mp4 So, Firefox don't decode url-encoded filenames. I tryed https://addons.mozilla.org/ru/firefox/addon/download-filename-encoding/ but it can't work.

Upravil(a) Eugene Chaykin dňa

Citácia

Ďalšie informácie o systéme

Aplikácie

  • Identifikácia prehliadača: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0

Viac informácií

Ak chcete pridať odpoveď, musíte sa prihlásiť k svojmu účtu. Ak účet doteraz nemáte, položte novú otázku.