* bug#7543: Optional parameter `localpart' in url-cookie-retrieve is used as a string
@ 2010-12-03 18:21 Lennart Borgman
2010-12-04 22:41 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: Lennart Borgman @ 2010-12-03 18:21 UTC (permalink / raw
To: 7543
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 ...)?
This is with a checkout from 2010-10-19 (my patched version, I don't
think I have any changes there).
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#7543: Optional parameter `localpart' in url-cookie-retrieve is used as a string
2010-12-03 18:21 bug#7543: Optional parameter `localpart' in url-cookie-retrieve is used as a string Lennart Borgman
@ 2010-12-04 22:41 ` Chong Yidong
0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2010-12-04 22:41 UTC (permalink / raw
To: Lennart Borgman; +Cc: 7543
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-04 22:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03 18:21 bug#7543: Optional parameter `localpart' in url-cookie-retrieve is used as a string Lennart Borgman
2010-12-04 22:41 ` Chong Yidong
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.