<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>153693</bug_id>
          
          <creation_ts>2007-12-08 20:53:21 +0000</creation_ts>
          <short_desc>konqueror offers wrong name for file to save, based on content-disposition</short_desc>
          <delta_ts>2008-01-10 18:43:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="kavol">kavol</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>561399</commentid>
    <comment_count>0</comment_count>
    <who name="kavol">kavol</who>
    <bug_when>2007-12-08 20:53:21 +0000</bug_when>
    <thetext>Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.1) 
OS:                Linux

when trying to save a bugzilla attachment from http://bugs.gentoo.org/attachment.cgi?id=136498 the file name offered by Konqueror was:
=&quot;qmmp-0.1.4.ebuild&quot;
i.e. including the equals sign and quotation marks, which should not be there

this comes from this http header:
Content-disposition: inline; filename=&quot;qmmp-0.1.4.ebuild&quot;

there are several bugreports related to saving files or content-disposition, but nothing exactly like this (especially against KDE4 branch)

using the provided link, I can 100% reproduce the problem using the recent Konqueror version:
$ konqueror --version
Qt: 4.3.2
KDE: 3.97.1 (KDE 4.0 &gt;= 20071206)
Konqueror: 3.97.1 (KDE 4.0 &gt;= 20071206)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>569855</commentid>
    <comment_count>1</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2008-01-10 18:43:12 +0000</bug_when>
    <thetext>SVN commit 759470 by orlovich:

Parse content-disposition better; at the very least not including the =, &quot;, and last &quot;.
Also makes a likely ill-advised attempt to do it following the spec, which at least 
should make it more tolerant to LWS
BUG:153693
CCBUG:155276


 M  +82 -17    http.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=759470
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>