Commit 278280ec authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

koha: add referer cgi emulation sub

This fixes access to guided_reports
parent b5f2733b
...@@ -71,6 +71,9 @@ sub cgi_subprocess { ...@@ -71,6 +71,9 @@ sub cgi_subprocess {
my ($url) = @_; my ($url) = @_;
$headers->{Location} = $url; $headers->{Location} = $url;
}, },
referer => sub {
$headers->{Referer};
}
); );
}; };
use warnings; use warnings;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment