[REBOL] Re: decode-cgi bug (?)
From: SunandaDH::aol::com at: 9-Feb-2004 17:32
Hallvard:
> I believe Andreas Bolka and/or Andrew Martin made a patch to 'decode-cgi
some
> time back, but can't seem to find it. Does anyone know whether the patch
> fixes this problem? Or perhaps where I can find it?
decode-cgi works under View (at least where I am). (Core fails here, just
like your version). You could cut'n'paste the source from View to Core.
When I say "works", I mean doesn't crash. That extra ampersand is treated as
part of the field name -- may not be what you want:
probe cgi: context decode-cgi "state=threads&board=cult.tamaraswift&&sort=T"
make object! [
state: "threads"
board: "cult.tamaraswift"
&sort: "T"
]
Sunanda