Skip to content

fix(harvest): invalid remote URL on record identifiers with "urn:uuid" codespace#3724

Draft
streino wants to merge 1 commit intoopendatateam:mainfrom
ecolabdata:fix/urn-uuid-remote-url
Draft

fix(harvest): invalid remote URL on record identifiers with "urn:uuid" codespace#3724
streino wants to merge 1 commit intoopendatateam:mainfrom
ecolabdata:fix/urn-uuid-remote-url

Conversation

@streino
Copy link
Copy Markdown
Contributor

@streino streino commented Apr 14, 2026

@streino
Copy link
Copy Markdown
Contributor Author

streino commented Apr 14, 2026

@maudetes I'd like your input before polishing the PR 🙏

Doesn't feel too good to handle a corner case, but I don't see any practical/robust way to handle all URN namespaces. I'd say "urn:uuid" is standard enough to warrant an extra if?

Note that there's nothing GeoNetwork specific here: other software, or even GeoNetwork users designing their own record templates, can legitimately use codespaces in ISO-19115-3, and since IDs are often UUIDs, that makes "urn:uuid" one of the most likely candidates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URL source invalide lorsque l'identifiant MD contient un codespace

1 participant