Bug 110648

Summary: Filename from 'http 302 found' headers is ignored when saving the file
Product: [Frameworks and Libraries] kio Reporter: Diederik van der Boor <vdboor>
Component: httpAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Diederik van der Boor 2005-08-12 19:38:31 UTC
Version:           onbekend (using KDE 3.4.2 Level "a" , SUSE 9.3 UNSUPPORTED)
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
OS:                Linux (i686) release 2.6.11.4-20a-default

When a file download is saved, konqueror does not use the filename from the Location header (for HTTP 302 Found / aka redirect headers).

A demo of this problem can be found here: http://www.daisychains.nl/modules.php?op=modload&name=Downloads&file=index&req=viewdownload&cid=6

This problem occurs in a few different situations:
- when the file is dragged to the desktop (or any other folder).
- when the file location is copied, and pasted on the desktop.
- when the file is saved directly from the context menu.

Only clicking/opening the file displays the correct filename in the save-as dialog.
Comment 1 Dawit Alemayehu 2007-09-01 20:36:34 UTC

*** This bug has been marked as a duplicate of 57590 ***