Handle some more real-world edge cases in MDNodaRepository

This commit is contained in:
jrenslin committed 2026-11-25 14:22:03 +01:00
1 parent aba4427990
commit eab03aa676
2 files changed
+9 -1

No files matched your search

+7 -1
View File
@@ -817,7 +817,13 @@ public function validateId(string $id):string|false {
self::col => self::validateColId($id),
self::cona => self::validateNumericId($id, ['http://vocab.getty.edu/page/cona/', 'https://vocab.getty.edu/page/cona/']),
self::editionhumboldtdigital => self::validateGndId($id, ['https://edition-humboldt.de/register/personen/detail.xql?normid=http://d-nb.info/gnd/']),
self::gnd => self::validateGndId($id, ['http://d-nb.info/gnd/', 'https://d-nb.info/gnd/', 'https://explore.gnd.network/gnd/', 'htps://d-nb.info/gnd/', 'hjttps://d-nb.info/gnd/']),
self::gnd => self::validateGndId($id, [
'http://d-nb.info/gnd/',
'https://d-nb.info/gnd/',
'https://explore.gnd.network/gnd/',
'htps://d-nb.info/gnd/',
'hjttps://d-nb.info/gnd/'
]),
self::grobsystematik => self::validateNumericId($id, ['https://term.museum-digital.de/grobsystematik/tag/']),
self::iconclass => self::validateIconclassId($id),
self::klbb => self::validateNumericId($id, ['https://www.kl-bb.de/artist/', 'https://www.kl-bb.de/?page=actor&subPage=']),