[Lispweb] RFC2109 - part 3 (final bit of my yakking)

Alan Shields Alan-Shields at omrf.ouhsc.edu
Wed Aug 10 17:53:17 CDT 2005


Another release of RFC2109.

I'm considering having the releases include the _darcs directory, to
ease patch submission from releases. This ups the size of the release
from ~80K to ~380K - any opinions?

This release (0.3) has some fixes correcting my misunderstanding of the
RFC. I hope that, at the least, this saves some other people some
stupidity time.

- Domains must start with a "." and contain an embedded ".". Previously,
  "code.microarray.omrf.org" would've been okay - in fact the docs
  suggested this! This is stupid. See the revised documentation for
  COOKIE-STRING to see why.
- SAFE-PARSE-COOKIES was updated to reflect this new understanding.
  Previous code should work, but will not necessarily do what you think
  it should.
- After mucking about with things for far longer than I would've liked,
  I've discovered that the latest stable release of Firefox, Mozilla,
  and IE all have a bug that rejects quote marks around paths. It's been
  fixed in Deer Park, but that doesn't do much good right now. I've
  added a note about a workaround for this.

It's very frustrating when the two largest platforms for your code both
break on strictly emitted code. I try to accept quite loosely, but I
think I'll draw the line at emitting to be bug compatible.

If, of course, someone wishes to write a bug-compatible version...feel
free.

As always, release pointers are located here:
http://www.cliki.net/rfc2109

Alan

On Thu, Aug 04, 2005 at 05:28:29PM -0500, Alan Shields wrote:
> Okay, if I have any more announcements regarding rfc2109, it'll be
> that I've set up an announcement mailing list and the rest will be on
> there.
> 
> Forgive my spamming the list; my enthusiasm outraces my consideration
> of others, I'm afraid.
> 
> For now, though, I've released 0.2.1 (the first public numbered
> version).
> 
> This introduces:
> - An ASDF package (and it's asdf-install-able)
> - Fixes regarding escaped quotes
> - Proper parsing of cookies with quoted values
> - domain-match-p for those of you who like that sort of thing
> 
> I wrote a small program in Araneida that tests the code. I've confirmed
> that it works with w3m, IE, links, Konqueror, and Firefox. Surprisingly,
> most of these only emit old netscape-style cookies, but they will all
> accept rfc2109 cookies.
> 
> The code for the example program (the relevant portion, at least) is in
> a paste linked in http://www.cliki.net/rfc2109
> 
> Share and enjoy,
> Alan Shields
> _______________________________________________
> Lispweb mailing list
> Lispweb at red-bean.com
> http://www.red-bean.com/mailman/listinfo/lispweb
> 
> !DSPAM:42f297b273711284116326!
> 



More information about the lispweb mailing list