Skip to content

Commit

Permalink
Ensure that a prefixed newline is also rejected
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Dec 6, 2024
1 parent 9ffbf7b commit 5b3ac91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/library/EngineBlock/Test/Validator/UrnTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public function invalidUrnProvider()
yield ['urn:org.openconext.licenseInfo'];
yield ['foo:bar:baz'];
yield ['urn:f:bar'];
yield ["\nurn:mace:dir:attribute-def:eduPersonPrincipalName"];
yield ["urn:mace:dir:attribute-def:eduPersonPrincipalName\n"];
yield [' urn:collab:person:example.org:jdoe'];
yield ['urn:collab:person:example.org:jdoe '];
Expand Down

0 comments on commit 5b3ac91

Please sign in to comment.