[Kget] [Bug 126078] New: Does not use correct file name with Content-Disposition headers.
Matt Sicker
boards at gmail.com
Sat Apr 22 18:01:13 CEST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=126078
Summary: Does not use correct file name with Content-Disposition
headers.
Product: kget
Version: 0.8.5
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kget kde org
ReportedBy: boards gmail com
Version: 0.8.5 (using KDE KDE 3.5.2)
Installed from: Ubuntu Packages
OS: Linux
When a downloaded file is attached via a method such as sending the HTTP headers "Content-Disposition: (attached|inline);filename=foo.torrent;other-information" as specified in RFC 2183, it saves the file as the URL's name instead of the filename from the headers. A common usage of this method is on torrent sites that send torrents as attachments via some download.php?id=12345 method. My guess is that it allows for customised torrent files using a user-specific announce URL (typically to keep track of a user's up:down ratio). It also allows for obfuscation of the URL to prevent direct linking to a specific mirror so that the best mirror is chosen for everyone who visits that page.
More information about the Kget
mailing list