|
From: | Chong Yidong |
Subject: | bug#7543: Optional parameter `localpart' in url-cookie-retrieve is used as a string |
Date: | Sat, 04 Dec 2010 17:41:48 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Lennart Borgman <lennart.borgman@gmail.com> writes: > The function looks like > > (defun url-cookie-retrieve (host &optional localpart secure) > > However localpart is used without checking it in > > (if (and (if (stringp localpart-match) > (string-match (concat "^" (regexp-quote > localpart-match)) > localpart) > > Should not both localpart-match and localpart be checked with (stringp ...)? Fixed, thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |