I tried 
make object! decode-cgi system/options/cgi/query-string
in a CGI script and supplied a URL like this:
http://www.server/cgi-bin/rebolscript.r?key=value&=nothing

Obviously, the URL is not too well constructed, since the key for the value "nothing" 
is missing. Nevertheless, such URLs do get requested from time to time. Now here's 
what I got from the script:
** Script Error: Expected one of: word! - not: none!
** Where: to-set-word
** Near: to set-word! :value

Is this normal behaviour? Do I have to try and catch to get my CGI parameters? Then 
why is this URL OK: http://www.server/cgi-bin/rebolscript.r?key=value&nothing= 
As I request this last URL, make object! decode-cgi system/options/cgi/query-string 
will become:
make object! [
    key: "value"
    nothing: ""
]

So why the inconsistency?

~H

Pr�tera censeo Carthaginem esse delendam

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to