Many cookie fixes:
authorDaniel Stenberg <daniel@haxx.se>
Wed, 30 Apr 2003 17:03:43 +0000 (17:03 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Apr 2003 17:03:43 +0000 (17:03 +0000)
commitefd836d971c63b481545594ab31da7eadaff66f2
treefbc4324691176fc3a7324586ca6aa58b45ebf971
parent836aaa1647eb075f0d0e47e5e1c09653f86ce61b
Many cookie fixes:
  o Save domains in jars like Mozilla does. It means all domains set in
    Set-Cookie: headers are dot-prefixed.
  o Save and use the 'tailmatch' field in the Mozilla/Netscape cookie jars (the
    second column).
  o Reject cookies using illegal domains in the Set-Cookie: line. Concerns
    both domains with too few dots or domains that are outside the currently
    operating server host's domain.
  o Set the path part by default to the one used in the request, if none was
    set in the Set-Cookie line.
lib/cookie.c
lib/cookie.h