use vars qw( $FSURL $QUERY_STRING );
use base 'HTML::Mason::Request';
use FS::Trace;
+use FS::access_user_log;
$FSURL = 'http://Set/FS_Mason_Request_FSURL/in_standalone_mode/';
$QUERY_STRING = '';
if fileno(STDOUT) != 1;
}
+ if ( $HTML::Mason::Commands::r ) {
+ FS::Trace->log(' adding headers');
+ #frame-ancestors not supported by all the major browsers yet
+ $HTML::Mason::Commands::r->header_out( 'X-Frame-Options', 'SAMEORIGIN' );
+ }
+
if ( $filename =~ qr(/REST/\d+\.\d+/NoAuth/) ) {
FS::Trace->log(' handling RT REST/NoAuth file');
FS::Trace->log(' UTF-8-decoding form data');
#
foreach my $param ( $cgi->param ) {
+
+ #we can't switch to multi_param until we're done supporting deb 7
+ local($CGI::LIST_CONTEXT_WARN) = 0;
+
my @values = $cgi->param($param);
next if $cgi->uploadInfo($values[0]);
#warn $param;
}
+ FS::access_user_log->insert_new_path( $filename );
+
FS::Trace->log(' done');
}