Fixing cookie regex

original commit: 96a3f47ea09e9e8beb11fbf26ba3138a6a289a4f
This commit is contained in:
Jay McCarthy 2010-04-27 08:48:07 -06:00
commit 53ba15e706

View File

@ -255,7 +255,7 @@
;; appear as a block to be legal, and " may only appear as \"
(define (rfc2068:quoted-string? s)
(and (regexp-match?
#rx"^\"([^\"#\u0000-#\u001F]| |#\return#\newline|#\tab|\\\\\")*\"$"
#rx"^\"([^\"\u0000-\u001F]| |\r\n|\t|\\\\\")*\"$"
s)
s))