Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vincent Mazenod
lemonldap-ng
Commits
abf27ad7
Commit
abf27ad7
authored
Sep 28, 2019
by
Christophe Maudoux
Browse files
Fix secureToken with PSGI servers
parent
200546b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/SecureToken.pm
View file @
abf27ad7
...
...
@@ -106,7 +106,7 @@ sub run {
# Remove token
eval
'
use Apache2::Filter
'
unless
(
$INC
{"
Apache2/Filter.pm
"}
);
if
(
$INC
{"
Apache2/Filter.pm
"}
)
{
if
(
$INC
{"
Apache2/Filter.pm
"}
and
defined
$r
->
{
env
}
->
{'
psgi.r
'}
)
{
$r
->
{
env
}
->
{'
psgi.r
'}
->
add_output_filter
(
sub
{
my
$f
=
shift
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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