MV_SUBJECT — (partly documented)
The global variable MV_SUBJECT, set before interpolating
any special page, is a more secure alternative to the
[subject] pseudo-tag.
Example: Reading the value of MV_SUBJECT
Add the following to a test Interchange page:
Subject/title:
Interchange 5.9.0:
Source: lib/Vend/Page.pm
Line 79 (context shows lines 69-83 in display_special_page():53)
$subject ||= 'unspecified error';
my $noname = $name;
$noname =~ s:^\.\./::;
$page = readfile($noname, $Global::NoAbsolute, 1) || readin($name);
die ::get_locale_message(412, qq{Missing special page "%s" for subject "%s"\n}, $name, $subject)
unless defined $page;
$page =~ s#\[subject\]#$subject#ig;
$Global::Variable->{MV_SUBJECT} = $subject;
$Vend::PageInit = 0;
interpolate_html($page, 1);
::response();
}