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
33c76485
Commit
33c76485
authored
Mar 10, 2018
by
Xavier Guimard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't encode + (may fix: #1385)
parent
f8aa6149
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/SAML.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/SAML.pm
+1
-0
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm
+2
-1
No files found.
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/SAML.pm
View file @
33c76485
...
@@ -462,6 +462,7 @@ sub checkMessage {
...
@@ -462,6 +462,7 @@ sub checkMessage {
# Response in body part
# Response in body part
$response
=
$req
->
param
('
SAMLResponse
');
$response
=
$req
->
param
('
SAMLResponse
');
$response
=~
s/ /+/g
;
$self
->
logger
->
debug
("
HTTP-POST: SAML Response
$response
");
$self
->
logger
->
debug
("
HTTP-POST: SAML Response
$response
");
}
}
...
...
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm
View file @
33c76485
...
@@ -584,7 +584,8 @@ sub setHiddenFormValue {
...
@@ -584,7 +584,8 @@ sub setHiddenFormValue {
# Store value
# Store value
if
(
defined
$val
or
!
(
$val
&
~
$val
)
)
{
if
(
defined
$val
or
!
(
$val
&
~
$val
)
)
{
$key
=
$prefix
.
$key
;
$key
=
$prefix
.
$key
;
$val
=~
s/\+/%2B/g
;
#$val =~ s/\+/%2B/g;
$req
->
{
portalHiddenFormValues
}
->
{
$key
}
=
$val
;
$req
->
{
portalHiddenFormValues
}
->
{
$key
}
=
$val
;
$self
->
logger
->
debug
("
Store
$val
in hidden key
$key
");
$self
->
logger
->
debug
("
Store
$val
in hidden key
$key
");
}
}
...
...
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