Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SWITCHwayf
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
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
AAI
SWITCHwayf
Commits
00927b23
Commit
00927b23
authored
Sep 13, 2019
by
Lukas Haemmerle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue #3918 where keywords separated with + are not unescaped correctly
parent
dd45f9fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/readMetadata.php
lib/readMetadata.php
+3
-1
No files found.
lib/readMetadata.php
View file @
00927b23
...
...
@@ -499,7 +499,9 @@ function getMDUIKeywords($RoleDescriptorNode){
$MDUIKeywords
=
$RoleDescriptorNode
->
getElementsByTagNameNS
(
'urn:oasis:names:tc:SAML:metadata:ui'
,
'Keywords'
);
foreach
(
$MDUIKeywords
as
$MDUIKeywordEntry
){
$lang
=
$MDUIKeywordEntry
->
getAttributeNodeNS
(
'http://www.w3.org/XML/1998/namespace'
,
'lang'
)
->
nodeValue
;
$Entity
[
$lang
]
=
trimToSingleLine
(
$MDUIKeywordEntry
->
nodeValue
);
$keywordEntry
=
$MDUIKeywordEntry
->
nodeValue
;
$keywordEntry
=
preg_replace
(
'/\+/'
,
' '
,
$keywordEntry
);
$Entity
[
$lang
]
=
trimToSingleLine
(
$keywordEntry
);
}
return
$Entity
;
...
...
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