Subject: Optional parameter `localpart' in url-cookie-retrieve is used as a string

From: Lennart Borgman <[email-masked]>
Date: Fri, 3 Dec 2010 19:21:52 +0100

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).