Allow nomisma input links/IDs with www.

This commit is contained in:
jrenslin committed 2026-02-11 11:21:05 +01:00
1 parent e9982f4b22
commit ab38fe88c4
2 files changed
+4

No files matched your search

+2
View File
@@ -655,6 +655,8 @@ private static function validateNomismaId(string $id):string|false {
$id = strtr($id, [
"http://nomisma.org/id/" => '',
"https://nomisma.org/id/" => '',
"http://www.nomisma.org/id/" => '',
"https://www.nomisma.org/id/" => '',
]);
// Ensure the remaining string does not contain spaces or slashes