Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
Changes
=======

Version 2.0.0 (2023-03-16)

- Uses HTTPS by default when calling ``idutils.to_url``.

Version 1.2.1 (2023-03-02)

- Fixes ORCiD validation, by adding the new ISNI block range.
Expand Down Expand Up @@ -72,7 +76,7 @@ Version 1.1.2 (2019-02-12)

- Adds support for HAL identifiers.

Version 1.1.1 (2018-11-18)
Version 1.1.1 (2018-11-28)

- Changes URL resolution for bibcodes to use https://ui.adsabs.harvard instead
of https://adsabs.harvard.edu/abs/.
Expand Down
4 changes: 2 additions & 2 deletions idutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ def normalize_pid(val, scheme):
"""URL generation configuration for the supported PID providers."""


def to_url(val, scheme, url_scheme="http"):
def to_url(val, scheme, url_scheme="https"):
"""Convert a resolvable identifier into a URL for a landing page.

:param val: The identifier's value.
Expand Down Expand Up @@ -1017,4 +1017,4 @@ def to_url(val, scheme, url_scheme="http"):
return ""


__version__ = "1.2.1"
__version__ = "2.0.0"
Loading