looks ok, commited to cvs.
Thanks,
Alex
Nikos Balkanas schrieb:
Hi,
The following is a simple patch to align cookies with RFC 2068 (HTTP
1.1) & 2109 (cookie). It decreases memory requirements, processing time,
and handles correctly cookies that have '=' in their values.
From RFC 2068:
token = 1*<any CHAR except CTLs or tspecials>
tspecials = "(" | ")" | "<" | ">" | "@"
| "," | ";" | ":" | "\" | <">
| "/" | "[" | "]" | "?" | "="
| "{" | "}" | SP | HT
From RFC 2109:
av-pairs = av-pair *(";" av-pair)
av-pair = attr ["=" value] ; optional value
attr = *token*
value = word
word = token | quoted-string
Therefore in a NAME = VALUE pair in a cookie, NAME cannot contain any of
those fancy characters.
Please vote and commit.
Thanx,
Nikos