CGI parsing work in progress.

This commit is contained in:
Brad Arant 2025-12-08 16:36:14 -08:00
parent 7e835e5073
commit ac0865d2da
2 changed files with 2 additions and 6 deletions

View File

@ -27,8 +27,8 @@ namespace jet {
char *errorCursor = NULL;
coreutils::CGIFormattedData cookies;
coreutils::CGIFormData *formdata;
std::map<coreutils::MString, coreutils::MString> variables;
std::map<coreutils::MString, coreutils::MString> cgiVariables;
std::map<coreutils::MString, __mysql *> sessions;
std::map<coreutils::MString, coreutils::MString> headers;
std::map<coreutils::MString, coreutils::MString> tags;

View File

@ -36,11 +36,7 @@ namespace jet {
coreutils::ZString contentLength(getenv("CONTENT_LENGTH"));
coreutils::ZString contentType(getenv("CONTENT_TYPE"));
if(contentType == "multipart/form-data")
coreutils::IMFMultipart postdata(0, "");
// else if(contentType == "application/x-www-form-urlencoded")
// global.setupFormURLEncoded(postdata);
formdata = new coreutils::CGIFormData(0, contentType, contentLength, boundary);
}
}
processContainer(container, NULL, true);