Commit
60b6afc7d7a53ccd89e52c88fa50ba3537843aa7
by Claudio Atzorifix(datacite): trim the rights URIs before looking for the license
A rightsUri ending with a line terminator (e.g. "https://creativecommons.org/licenses/by/4.0/deed.en\n",
as in the umd.lib records) was not matched by the license pattern, because in Java `.` does not
match line terminators and `matches` requires the whole string to match. The license of those
records was silently dropped, while it is present in the source.
The rights URIs are now trimmed before the match, hence the stored license value is trimmed too.
The access right derivation from the same URIs is left unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>