Skip to content
GitLab
Menu
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 {
...
@@ -106,7 +106,7 @@ sub run {
# Remove token
# Remove token
eval
'
use Apache2::Filter
'
unless
(
$INC
{"
Apache2/Filter.pm
"}
);
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
(
$r
->
{
env
}
->
{'
psgi.r
'}
->
add_output_filter
(
sub
{
sub
{
my
$f
=
shift
;
my
$f
=
shift
;
...
...
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