Skip to content

Commit

Permalink
Merge pull request #1053 from cthoyt/patch-1
Browse files Browse the repository at this point in the history
Use HTTPS for ORCiD
  • Loading branch information
matthewhorridge committed May 23, 2022
2 parents 23fd4cf + 1cf5cc9 commit c3f7602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class Orcid {

private static final Pattern PATTERN = Pattern.compile("[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{3}[0-9X]");

public static final String ORCID_URI_PREFIX = "http://orcid.org/";
public static final String ORCID_URI_PREFIX = "https://orcid.org/";

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void shouldImplementToString() {
}

public void shouldGetUri() {
assertThat(orcid.toUri(), is(URI.create("http://orcid.org/" + value)));
assertThat(orcid.toUri(), is(URI.create("https://orcid.org/" + value)));
}

}

0 comments on commit c3f7602

Please sign in to comment.