X
Tap here to go to the mobile version of the site.

Support Forum

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

  • No replies
  • 1 has this problem
  • 6 views
Posted

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.

Modified by Eugene Chaykin

Quote

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.