Skip to content
Snippets Groups Projects
Commit bd4503da authored by Paul Millar's avatar Paul Millar
Browse files

update_oai-pmh fix URL handling for endpoints with no trailing slash

Motivation:

A bug was introduced with commit aee25f9f where OAI-PMH URLs without a
trailing slash have one added; for example, the Identify request
targeting PSI changes from `https://doi.psi.ch/oaipmh/oai?verb=Identify`
to `https://doi.psi.ch/oaipmh/oai/?verb=Identify`.

For some endpoints, this distinction is important, resulting in the
requests failing.

Modification:

Fix regression so that the correct URL is used.

Result:

The PSI endpoint is now shown (correctly) to be working.
parent 688886d3
No related branches found
No related tags found
1 merge request!70update_oai-pmh fix URL handling for endpoints with no trailing slash
Pipeline #477178 passed