[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: url-cookie.el: Deal with wildcard dots in domain values.
From: |
Davis Herring |
Subject: |
Re: url-cookie.el: Deal with wildcard dots in domain values. |
Date: |
Mon, 2 Apr 2007 16:23:09 -0700 (PDT) |
User-agent: |
SquirrelMail/1.4.8-4.el3.2lanl |
> This can be written shorter:
>
> (if (eq ?. (aref (car cur) 0))
> (substring (car cur) 1)
> (car cur)))
Oh yeah?
(substring (car cur) (if (eq ?. (aref (car cur) 0)) 1 0))
Not that I actually recommend copying every cookie's domain name...
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.