Skip to content
  • Daniel Stenberg's avatar
    - As was pointed out on the http-state mailing list, the order of cookies in a · 877dad1e
    Daniel Stenberg authored
      HTTP Cookie: header _needs_ to be sorted on the path length in the cases
      where two cookies using the same name are set more than once using
      (overlapping) paths. Realizing this, identically named cookies must be
      sorted correctly. But detecting only identically named cookies and take care
      of them individually is harder than just to blindly and unconditionally sort
      all cookies based on their path lengths. All major browsers also already do
      this, so this makes our behavior one step closer to them in the cookie area.
    
      Test case 8 was the only one that broke due to this change and I updated it
      accordingly.
    877dad1e