[version 0.4.0 ediware**20070918170012] { hunk ./CHANGELOG.txt 1 +Version 0.4.0 +2007-09-18 +Added *TREAT-SEMICOLON-AS-CONTINUATION* + hunk ./chunga.asd 2 -;;; $Header: /usr/local/cvsrep/chunga/chunga.asd,v 1.13 2007/05/07 22:01:07 edi Exp $ +;;; $Header: /usr/local/cvsrep/chunga/chunga.asd,v 1.14 2007/09/18 07:00:39 edi Exp $ hunk ./chunga.asd 32 - :version "0.3.0" + :version "0.4.0" hunk ./doc/index.html 90 +
  • *treat-semicolon-as-continuation* hunk ./doc/index.html 100 -current version is 0.3.1. +current version is 0.4.0. hunk ./doc/index.html 415 -are spread across multiple lines are recognized and treated correctly. +are spread across multiple lines are recognized and treated correctly. (But see *TREAT-SEMICOLON-AS-CONTINUATION*.) hunk ./doc/index.html 559 + + + +


    [Special variable]
    *treat-semicolon-as-continuation* +


    + +According to John Foderaro, Netscape v3 web servers bogusly split +Set-Cookie headers over multiple lines which means that we'd have to +treat Set-Cookie headers ending with a semicolon as incomplete and +combine them with the next header. This will only be done if this +variable has a true value, though. Its default value is NIL. +
    + + hunk ./doc/index.html 583 -$Header: /usr/local/cvsrep/chunga/doc/index.html,v 1.22 2007/09/06 23:01:29 edi Exp $ +$Header: /usr/local/cvsrep/chunga/doc/index.html,v 1.23 2007/09/18 07:00:41 edi Exp $ hunk ./packages.lisp 2 -;;; $Header: /usr/local/cvsrep/chunga/packages.lisp,v 1.13 2007/05/07 21:57:21 edi Exp $ +;;; $Header: /usr/local/cvsrep/chunga/packages.lisp,v 1.14 2007/09/18 07:00:39 edi Exp $ hunk ./packages.lisp 38 + :*treat-semicolon-as-continuation* hunk ./read.lisp 2 -;;; $Header: /usr/local/cvsrep/chunga/read.lisp,v 1.11 2007/05/07 21:57:21 edi Exp $ +;;; $Header: /usr/local/cvsrep/chunga/read.lisp,v 1.12 2007/09/18 07:00:39 edi Exp $ hunk ./read.lisp 173 - ;; workaround for bug in some - ;; Netscape servers (reported by - ;; John Foderaro) - (and (eq name :set-cookie) + (and *treat-semicolon-as-continuation* + (eq name :set-cookie) hunk ./read.lisp 253 - (read-cookie-value stream :separators "=") + (read-cookie-value stream :separators "=,") hunk ./specials.lisp 2 -;;; $Header: /usr/local/cvsrep/chunga/specials.lisp,v 1.8 2007/09/05 11:30:05 edi Exp $ +;;; $Header: /usr/local/cvsrep/chunga/specials.lisp,v 1.9 2007/09/18 07:00:39 edi Exp $ hunk ./specials.lisp 60 + +(defvar *treat-semicolon-as-continuation* nil + "According to John Foderaro, Netscape v3 web servers bogusly split +Set-Cookie headers over multiple lines which means that we'd have to +treat Set-Cookie headers ending with a semicolon as incomplete and +combine them with the next header. This will only be done if this +variable has a true value, though.") }