#7031 closed defect (fixed)
Download file name problems
Reported by: | Robert Rossmair | Owned by: | Radek Bartoň |
---|---|---|---|
Priority: | normal | Component: | DownloadsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
Trac 0.12dev-r9557:
My download had a space in its filename, like "foo bar.7z". When I clicked on the link, the open dialog offered to open a file "foo". And, saving it, indeed there was a file "foo" created (no extension). Note that the entry on the Downloads page, in contrast, was showing the full file name "foo bar.7z".
But there is another problem: I removed the download, renamed the file to "foo-bar.7z" (no spaces anymore), and uploaded it again. This, to my surprise, did no good, the open dialog still offered to open "foo".
To verify my suspicion, I removed the download once more and uploaded a completely different file, "differentfile.7z". And again, an attempt to download this file resulted in a dialog offering to "open foo".
Seems there remains some debris in the database after removing a download.
Attachments (0)
Change History (3)
comment:1 follow-up: 2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Changeset r7897 should fix the first issue. It also contains some code unification with ScreenshotsPlugin's code so that's why it is so big. The other issue has something to do with browser's cache and not Trac DB as files are requested with same resource URL and thus I can't do anyting about it IIRC.