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
Julien Ledoux
lemonldap-ng
Commits
82bff2b2
Commit
82bff2b2
authored
Jul 14, 2018
by
Yadd
Browse files
Fix bad regexp (Fixes: #1476)
parent
8e324b19
Changes
1
Hide whitespace changes
Inline
Side-by-side
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/SAML/Metadata.pm
View file @
82bff2b2
...
...
@@ -288,7 +288,7 @@ sub toConf {
my
$data
=
Dumper
(
$fields
);
$data
=~
s/^\s*(.*?)\s*$/$1/
;
$data
=~
s/'/'/g
;
$data
=~
s/^\$data[0-9]*\s*=\s*({?\s*.+\s*}?)/$1/g
;
$data
=~
s/^\$data[0-9]*\s*=\s*(
\
{?\s*.+\s*
\
}?)/$1/g
;
return
$data
;
}
...
...
Write
Preview
Supports
Markdown
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