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

Don't match getty on bad uri with colon at start of string #179

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

kdid
Copy link
Contributor

@kdid kdid commented Dec 12, 2024

  • Getty was matching a uri with a colon at the start of the string. For example: :http://id.loc.gov/authorities/names/no2009091821 and then timing out trying to preform the fetch.
  • This should produce an {:error, :unknown_authority} instead

Note: I debated dealing with this more globally then decided against it. But open to suggestions.

@mbklein mbklein self-requested a review December 12, 2024 19:23
@kdid kdid self-assigned this Dec 12, 2024
@kdid kdid merged commit d94e200 into main Dec 12, 2024
7 checks passed
@kdid kdid deleted the 5304-bad-uri branch December 12, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants