File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 8989 wget https://metadata.eduid.cz/entities/eduid -O /tmp/metadata/eduid.xml
9090 wget https://www.eduid.cz/docs/eduid/metadata/metadata.eduid.cz.crt.pem -O /tmp/metadata/eduid.crt
9191
92- - name : Download eduID metadata & public key
93- if : steps.cache-metadata.outputs.cache-hit != 'true'
94- run : |
95- mkdir -p /tmp/metadata
96- wget https://metadata.eduid.cz/entities/eduid -O /tmp/metadata/eduid.xml
97- wget https://www.eduid.cz/docs/eduid/metadata/metadata.eduid.cz.crt.pem -O /tmp/metadata/eduid.crt
98-
9992 - name : Download GRNET metadata
10093 if : steps.cache-metadata.outputs.cache-hit != 'true'
10194 run : |
Original file line number Diff line number Diff line change 77use SimpleSAML \SAML2 \Assert \Assert ;
88use SimpleSAML \XMLSchema \Type \StringValue ;
99
10+ use function strip_tags ;
11+
1012/**
1113 * @package simplesaml/saml2
1214 */
@@ -19,5 +21,6 @@ protected function validateValue(string $value): void
1921 {
2022 // Note: value must already be sanitized before validating
2123 Assert::validSAMLString ($ this ->sanitizeValue ($ value ));
24+ Assert::true ($ value , strip_tags ($ value ));
2225 }
2326}
You can’t perform that action at this time.
0 commit comments