New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 849685 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Duplicate *.tar.xz downloaded files are badly named

Reported by dpi...@gmail.com, Jun 5 2018

Issue description

UserAgent: 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:
 
Labels: Needs-Triage-M67
Components: -Internals>Network UI>Browser>Downloads
Cc: sindhu.chelamcherla@chromium.org
Labels: Triaged-ET M-69 Target-69 FoundIn-69 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
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!
Owner: xingliu@chromium.org
Status: Assigned (was: Untriaged)
Assigning to xingliu@ for extension work.

Sign in to add a comment