hypothesis / hypothesis/client

[Annotator] DOI HTTP URL saved in place of DOI URI

Open
#5,150 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Mustache
Stars
730
Forks
224
PR merge metrics
No merged PRs in 30d

Description

DOI URIs are not validated when bookmarking a resource and [DOI HTTP URLs can be injected in place of their corresponding DOI URIs](https://hypothes.is/api/search?uri=doi:https://doi.org/10.3998/mp.9460447.0005.205):

```html


```

DOI parsing should handle (incorrect use of) DOI HTTP URLs distinctively from DOI URIs so that only DOI URIs are POST'ed to the API.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.