Duplicate *.tar.xz downloaded files are badly named
Reported by
dpi...@gmail.com,
Jun 5 2018
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36 Example URL: https://vorboss.dl.sourceforge.net/project/lzmautils/xz-5.2.4.tar.xz Steps to reproduce the problem: 1. Download any .tar.xz file (e.g. "foo-1.2.3.tar.xz") via http or from a file:// url 2. Download the same file again What is the expected behavior? When saving the file locally, Chrome inserts a number (1) into the filename of the second downloaded file, in order to not overwrite the first downloaded file. The number should be inserted before the .tar.xz extension to leave it intact. Thus, the expected filename would be "foo-1.2.3 (1).tar.xz". This is also how the problem is handled for .tar.gz and .tar.bz2 files. What went wrong? The file is instead saved as "foo-1.2.3.tar (1).xz". This causes problems when trying to open the file with GNOME's Archive Manager/File Roller application, because it doesn't recognize the ".tar (1)" filename as a tar file. Did this work before? N/A Chrome version: 67.0.3396.62 Channel: stable OS Version: Flash Version:
,
Jun 5 2018
,
Jun 6 2018
Able to reproduce this issue on reported version 67.0.3396.62 and latest canary 69.0.3451.0 using Ubuntu 17.10. This issue is seen from M-60. Hence considering this issue as Non-Regression and marking as Untriaged for further inputs from dev team. Adding OS=Windows and Mac as seeing same behavior as Linux. Please remove if not applicable. Thanks!
,
Jun 7 2018
Assigning to xingliu@ for extension work. |
||||
►
Sign in to add a comment |
||||
Comment 1 by vamshi.kommuri@chromium.org
, Jun 5 2018