From: Chong Yidong <cyd@stupidchicken.com>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 7543@debbugs.gnu.org
Subject: bug#7543: Optional parameter `localpart' in url-cookie-retrieve is used as a string
Date: Sat, 04 Dec 2010 17:41:48 -0500 [thread overview]
Message-ID: <874oatxis3.fsf@stupidchicken.com> (raw)
In-Reply-To: <AANLkTi=7uyfyJsJ8XqDDrpr-3G0NJ_bnppO-OumCxf+4@mail.gmail.com> (Lennart Borgman's message of "Fri, 3 Dec 2010 19:21:52 +0100")
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 parent reply other threads:[~2010-12-04 22:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874oatxis3.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=7543@debbugs.gnu.org \
--cc=lennart.borgman@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.