Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to set datecitedoi repoid to securehost if host is undefined #52

drn05r opened this issue Jan 7, 2022 · 0 comments


Copy link

drn05r commented Jan 7, 2022

Recent version of EPrints has introdiced a simplified means for configuration EPrints for HTTPS only:

This means that there could be issue with setting $c->{datacitedoi}->{repoid} if HTTPS only configuration is defined in the archive's cfg/cfg.d/

$c->{datacitedoi}{repoid} = $c->{host};

If this line is changed to something like:

c->{datacitedoi}{repoid} = defined $c->{host} ? $c->{host} : $c->{securehost};

This should ensure DataCiteDOI still works with HTTPS-only configuration for EPrints 3.4.1+.

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

No branches or pull requests

1 participant