Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
84913b36
Commit
84913b36
authored
Jan 30, 2019
by
Christophe Maudoux
🐛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete SSO cookie with Nginx (#1630)
parent
5a03e518
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Server/Nginx.pm
...nldap-ng-handler/lib/Lemonldap/NG/Handler/Server/Nginx.pm
+1
-1
No files found.
lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Server/Nginx.pm
View file @
84913b36
...
...
@@ -71,7 +71,7 @@ sub handler {
my
$cn
=
$self
->
Lemonldap::NG::Handler::Main::
tsv
->
{
cookieName
};
$cookie
=~
s/\b$cn(http)?=[^,;]*[,;\s]*//og
;
my
@convertedHdrs
=
(
'
Content-Length
'
=>
0
,
Cookie
=>
(
$
req
->
env
->
{
HTTP_COOKIE
}
//
''
)
);
(
'
Content-Length
'
=>
0
,
Cookie
=>
(
$
cookie
//
''
)
);
my
$i
=
0
;
while
(
my
$k
=
shift
@$hdrs
)
{
my
$v
=
shift
@$hdrs
;
...
...
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