Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
deichman
Commits
278280ec
Commit
278280ec
authored
Jan 16, 2019
by
Petter Goksøyr Åsen
Browse files
koha: add referer cgi emulation sub
This fixes access to guided_reports
parent
b5f2733b
Changes
1
Show whitespace changes
Inline
Side-by-side
koha/Deichman/Plack/Middleware/App.pm
View file @
278280ec
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment