Prevent using general URL field in MDNodaRepository::fromUrl()
This commit is contained in:
parent
7fc57353a8
commit
f938c66ab6
@ -118,6 +118,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
||||
$cases = self::cases();
|
||||
foreach ($cases as $case) {
|
||||
|
||||
if ($case === self::allgemein) continue;
|
||||
$output = $case->validateId($input);
|
||||
if ($output !== false) return $case;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user