<?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>59189</bug_id>
          
          <creation_ts>2003-05-31 22:42:22 +0000</creation_ts>
          <short_desc>konqueror does not overwrite old cookies with new ones</short_desc>
          <delta_ts>2003-12-11 08:11: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>kcookiejar</component>
          <version>unspecified</version>
          <rep_platform>Debian testing</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>1</everconfirmed>
          <reporter name="Christian Welzel">kdebugs</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>136975</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Welzel">kdebugs</who>
    <bug_when>2003-05-31 22:42:23 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.1.2)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc 3.2.x 
OS:          Linux

konqueror does not overwrite an old cookie with the new value,
but it appends the new cookie to the list of cookies of the domain.
so i have two cookies with the same name but different values
and ending times... normaly it should set the new value and time
for the cookie...
i have spoken to several people and all of them agree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137031</commentid>
    <comment_count>1</comment_count>
    <who name="Dawit Alemayehu">adawit</who>
    <bug_when>2003-06-01 13:41:37 +0000</bug_when>
    <thetext>Hello, 
 
You will need to be more specific. kcookiejar properly replaces old cookies with 
a newer ones based on the first paragraph in section 4.3.3 of RFC 2109 or 
section 3.3.3 of RFC 2965. Can you provide a link where you are seeing this 
problem ? Or alternatively a the cookie header(s) you are using to test this ?  
 
Regards, 
Dawit A. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137095</commentid>
    <comment_count>2</comment_count>
    <who name="">gawain</who>
    <bug_when>2003-06-01 19:35:19 +0000</bug_when>
    <thetext>Subject: Re:  konqueror does not overwrite old cookies with new ones

Am Sonntag, 1. Juni 2003 13:41 schrieben Sie:

&gt; or section 3.3.3 of RFC 2965. Can you provide a link where you are seeing
&gt; this problem ? Or alternatively a the cookie header(s) you are using to
&gt; test this ?

Currently i can not reproduce this, but it happend several times...
i thought about making a screenshot last time, but i decided to give it
another try and now the problem doesnt come back :(
Here is the code i use on my site www.wh9.tu-dresden.de:

    /* the skin choice from get */
    if(isset($_GET[&apos;xskin&apos;])) {
        if(!preg_match(&quot;/^\w+$/i&quot;, $_GET[&apos;xskin&apos;])) 
		die(&apos;Bad skin name from GET variable!&apos;);
        $_SESSION[&apos;skin&apos;] = $_GET[&apos;xskin&apos;];
        setcookie(&quot;XSkin&quot;, $_SESSION[&apos;skin&apos;], time()+2592000); // one month
        unset($_GET[&apos;xskin&apos;]);
    }

As you can see you can set the prefered skin by using the paramter &quot;xskin&quot;.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137096</commentid>
    <comment_count>3</comment_count>
    <who name="">gawain</who>
    <bug_when>2003-06-01 19:41:25 +0000</bug_when>
    <thetext>Subject: Re:  konqueror does not overwrite old cookies with new ones

Am Sonntag, 1. Juni 2003 19:35 schrieben Sie:

&gt; Currently i can not reproduce this, but it happend several times...
&gt; i thought about making a screenshot last time, but i decided to give it
&gt; another try and now the problem doesnt come back :(

Ok. tried it again after sending the mail and there is it!
screenshots under http://www.wh9.tu-dresden.de/~gawain/konq

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137102</commentid>
    <comment_count>4</comment_count>
    <who name="">meusel</who>
    <bug_when>2003-06-01 19:56:36 +0000</bug_when>
    <thetext>Me too. Using Debian/i386 unstable KDE 3.1.2 GCC 3.3.

Happens sometimes when trying to login to http://www.unihelp.de using the saved 
cookie.

lg
Erik

P.S.: Removing the cookie(s) in ~/.kde/share/apps/kcookiejar/cookies, logging 
in again helps for some days.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184786</commentid>
    <comment_count>5</comment_count>
    <who name="Dawit Alemayehu">adawit</who>
    <bug_when>2003-12-11 08:11:12 +0000</bug_when>
    <thetext>I tried this again with your site and no matter what I do I cannot duplicate the problem. Please feel free to re-open this report if the problem still occurs in the current stable 3.1.x or 3.2 beta releases. Thanks for the report.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>