For those keeping score at home, I was bumfuzzled by the fact that I could
not pass CGI data (constructed in REBOL) to Netscape, but it worked fine on
Explorer.
While I hate to be nice to Bill Gates, Explorer DOES handle passed data MUCH
easier and MUCH less finickily than Netscape.
Okay, the problem was simple (as most are when you get right down to it).
Explorer automatically converts spaces into an %20 character (escapes them)
whereas Netscape doesn't and is, thus, confused when it gets some CGI data
with spaces in it.
There are other ways to solve this (in my humble opinion) deficiency in at
least early Netscape (4.03 is the latest I have or want<g>, I just use it to
make sure stuff works in both flavor browsers). One way is the following
little REBOL function:
cgi-escape: func [cgi][
parse cgi [some [to " " (find replace cgi " " "%20")] to end]
]
That got my order forms working, but I still need to handle other characters
such as '&'.
Ah, the adventure of it all.
--Ralph Roberts