On Thu, 22 Sep 2005 14:30:55 +0200, Edi Weitz <edi(a)agharta.de> wrote:
> The right way to do it would be to add a second optional argument
> for the charset to URL-DECODE and make the default value
> user-configurable on a per-request basis. Does that sound OK? I'll
> probably add something like this in the next days.
OK, I've done that now - version 0.8.0. Please try it out yourself.
I've added some examples to test/test.lisp.
There's code in there for LispWorks, AllegroCL and Unicode-SBCL but I
haven't tested with SBCL yet. Likewise, I only tested with the latest
Firefox and IE on Windows.
Note that the part about "user-configurable on a per-request basis" is
kind of hard becaue URL-DECODE is used when the REQUEST object is
created, i.e. before the user's dispatchers and handlers are called.
Thus the new function RECOMPUTE-REQUEST-PARAMETERS.
For some more info about HTML forms and character sets see this nice
article:
<http://ppewww.ph.gla.ac.uk/~flavell/charset/form-i18n.html>
ChangeLog:
Version 0.8.0
2005-09-24
Added the ability to cope with different external formats (incorporating suggestions from Will Glozer and Ivan Shvedunov)
Raw post data is now always saved (so *SAVE-RAW-POST-DATA-P* is gone)
Download:
<http://weitz.de/files/tbnl.tar.gz>
Cheers,
Edi.
On Mon, 14 Feb 2005 08:56:40 -0500, Zach Beane <xach(a)xach.com> wrote:
> Would it make sense to be able to have a table of arbitrary keys and
> values in the request structure for application use?
Hi Zach!
It obviously took me a while to figure out that this was a good
idea... :)
Sorry for that. Here's the ChangeLog vor the new version:
Version 0.7.0
2005-09-17
Added the ability to store arbitrary data within REQUEST objects (suggested by Zach Beane)
Fixed handling of *HTTP-ERROR-HANDLER*
Note: *TBNL-VERSION* was wrong in 0.6.0 and 0.6.1
Download:
<http://weitz.de/files/tbnl.tar.gz>
Cheers,
Edi.
On Mon, 05 Sep 2005 11:25:17 +0200, Alceste Scalas <alceste.scalas(a)gmx.net> wrote:
> It's fine for me (private email follows).
Sorry for the delay. I've just released a new version which
incorporates a 'contrib' directory with your entry that I have left
unchanged except for putting the code into the newly-created
TBNL-CONTRIB package.
Here's the ChangeLog:
Version 0.6.0
2005-09-08
Added TBNL-CONTRIB package
Added contrib directory with first entry (from Alceste Scalas)
Updated link to Bill Clementson's blog
Don't redefine what's already there (for LispWorks)
Download:
<http://weitz.de/files/tbnl.tar.gz>
Cheers,
Edi.