New Message: gridbox problem with multipart form

webmaster at userland.com webmaster at userland.com
Wed Oct 24 11:46:04 PDT 2001


A new message was posted:

Address: http://frontier.userland.com/discuss/msgReader$9011

By: Nick Frese (nick at rte-asset.com)

I've been building a site using the gridbox specs and I came across an interesting problem: I am trying to submit a form that has multipart data, i.e., enctype="multipart/form-data". For some reason, the firstFilter script...which parses all the arguments and form args into argtable...is choking on this form and giving me back the following error:
---
Sorry! There was an error: Can't create item "." because "" is an illegal name.
---
on firstFilter (adrPageTable) {
 on gridBoxFilter () {
 if not (adrPageTable^.path endswith "/" or adrPageTable^.path endswith "index") {
 scriptError("!redirect index")};
 new (tableType, @adrPageTable^.argtable);
 webserver.parseArgs(adrPageTable^.searchArgs, @adrPageTable^.argtable);
 webserver.parseArgs(adrPageTable^.client, @adrPageTable^.argtable);
 local(pta = html.getpagetableaddress());
 if adrPageTable^.method=="POST" {
 webserver.parseArgs(adrPageTable^.requestBody, @adrPageTable^.argtable);
 webserver.parseArgs(adrPageTable^.postArgs, @adrPageTable^.argtable)}
 else {
 webserver.parseArgs(adrPageTable^.pathArgs, @adrPageTable^.argtable)}};
 gridBoxFilter();
 return (true)}

This is a Manila site.. http://manila.userland.com/.





More information about the Frontier-Server mailing list