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
LemonLDAP NG
lemonldap-ng
Commits
71e41158
Commit
71e41158
authored
Jul 09, 2021
by
Maxime Besson
Browse files
Make sure empty referers are valid during logout
parent
e4bf2890
Pipeline
#14697
passed with stages
in 17 minutes and 32 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
lemonldap-ng-portal/t/03-XSS-protection.t
View file @
71e41158
...
...
@@ -97,6 +97,11 @@ my @tests = (
'
aHR0cDovL3d3dz88c2NyaXB0Pg==
',
'
http://test1.example.com/
'
=>
0
,
'
script with logout
',
# 21 url=http://www.toto.com/, no referer
'
aHR0cDovL3d3dy50b3RvLmNvbS8=
',
''
=>
1
,
'
Logout required by good site, empty referer
',
);
my
$res
;
...
...
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