Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] decode-cgi bug (?)

From: hallvard:ystad:oops-as:no at: 9-Feb-2004 23:07

Hi I know some people say "garbage in - garbage out", but one can't always control what comes into one's programs as input. Here's what came to one of mine: http://www.bbc.co.uk/cgi-perl/h2/h2.cgi?state=threads&board=cult.tamaraswift&&sort=T This crashes 'decode-cgi in /core 2.5.6:
>> decode-cgi "state=threads&board=cult.tamaraswift&&sort=T"
** Script Error: Out of range or past end ** Where: to-set-word ** Near: to set-word! :value
>>
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? Thanks, HY