Skip to content

Commit 689dd30

Browse files
committed
Remove duplicate download
1 parent f27e9e4 commit 689dd30

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/interoperability.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,6 @@ jobs:
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: |

src/Type/SAMLStringValue.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
use SimpleSAML\SAML2\Assert\Assert;
88
use 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
}

0 commit comments

Comments
 (0)