Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | protected function validateContent(string $content): void |
||
30 | { |
||
31 | /** |
||
32 | * 1.3.2 URI Values |
||
33 | * |
||
34 | * Unless otherwise indicated in this specification, all URI reference values used within SAML-defined |
||
35 | * elements or attributes MUST consist of at least one non-whitespace character, and are REQUIRED to be |
||
36 | * absolute [RFC 2396]. |
||
37 | */ |
||
38 | Assert::notWhitespaceOnly($content, ProtocolViolationException::class); |
||
39 | SAMLAssert::validURI($content, SchemaViolationException::class); |
||
40 | } |
||
42 |