Replace the plus sign in the m/.../ above, with a star. after the last line you pasted, make sure a line exists that saysnext if $key eq ""; That should discard input fields that don't have a name, and IC won't die. btw.....Are empty form element names kosher? I hadn't even thought about it, but it seems it'd violate a spec somewhere. /daniel
Also, I did this;
CGIVAL: {
# This loop semi-duplicated in store_cgi_kv
foreach $pair (grep length, @pairs) {
($key, $value) = ($pair =~ m/([^=]*)=(.*)/)
or do {
if ($Global::TolerateGet) {
$key = $pair;
$value = undef;
}
elsif($CGI::request_method =~ /^post$/i) {
die ::errmsg("Syntax error in
POST input: %s\n%s", $pair, $$sref);
}
else {
die ::errmsg("Syntax error in
GET input: %s\n", $pair);
}
};
next if ( $key eq '');
Is there any problem with doing that?
--
Tom
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.