Red Hat Bugzilla – Bug 51793
when downloading file, won't prompt for overwrite
Last modified: 2007-04-18 12:35:54 EDT
Description of Problem:
When downloading a file using konqueror, if a file of that name already
exists you won't be prompted to overwrite it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. 'echo oldfile > showattachment.cgi'
2. Use konqueror to view bug #51791
3. Click on the first attachment ('small file').
4. A dialog box will appear asking you where to save the file, with a
default location 'showattachment.cgi'. Click ok.
5. cat showattachment.cgi
Created attachment 27933 [details]
Use the above attachment to test with.
We (Red Hat) should really try to fix this before next release.
Not quite as bad as it seems on the first look: It happens on files that are
generated with "?foo=something" only.
That file doesn't exist, so the dialog isn't brought up. The filename needs to
be checked in a different place...
Looks more like a KIO::file_copy issue
The real problem is too complex to fix before rc2, added a workaround in