OBOFoundry / purl.obolibrary.org

A system for managing OBO PURLs
BSD 3-Clause "New" or "Revised" License
75 stars 128 forks source link

Migrate HTTP targets to HTTPS #925

Open jamesaoverton opened 1 year ago

jamesaoverton commented 1 year ago

Many of our PURLs redirect to HTTP resources that are also served via HTTPS. (Often those HTTP resources already redirect to their HTTPS versions.) It would be better for these to redirect to HTTPS instead. This is purely a matter of updating our configurations in this repository.

We should write scripts to:

  1. collect the HTTP targets
  2. group them by domain and sort by frequency
  3. migrate known-good cases to HTTPS
  4. report on the leftovers for manual review

Any volunteers?

jamesaoverton commented 1 year ago

Extending 2 and 3: We could collect a list of distinct HTTP target URLs, and then request them to see if they redirect (HTTP 30x) to HTTPS URLs. Those would be good candidates for replacement, although I would want a human to check the results.