Name

TolerateGet — specify whether information from both GET and POST method should be parsed when form is submitted using POST method

SYNOPSIS

No | Yes

DESCRIPTION

Enabling the option makes Interchange parse both GET data and POST data when a POST form is submitted. Unfortunately this has to be a global setting because at URL parse time, the Interchange daemon doesn't yet know which catalog it is dealing with (due to catalog aliases, etc.).

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Enabling TolerateGet

TolerateGet yes

NOTES

AVAILABILITY

TolerateGet is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 490

['TolerateGet',     'yesno',            'No'],

Source: lib/Vend/Config.pm
Line 5414 (context shows lines 5414-5426)

sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
  return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
  return 0;
}
else {
  config_error("Use 'yes' or 'no' for the $var directive\n");
}
}

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!