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

OCAID and ISBN validation #565

Merged
merged 2 commits into from
Sep 19, 2017
Merged

Conversation

hornc
Copy link
Collaborator

@hornc hornc commented Sep 19, 2017

I could extend the whitespace check to catch whitespace in any other id.
ISBN check is very basic, only looks for string length. It means dashes in ISBNs will no longer be accepted.

@hornc
Copy link
Collaborator Author

hornc commented Sep 19, 2017

helps prevent #467

@mekarpeles
Copy link
Member

LGTM

@mekarpeles mekarpeles merged commit 19aa018 into internetarchive:master Sep 19, 2017
@LeadSongDog
Copy link

Validation of an identifier takes more than checking it has the correct form. It needs to be tested in a query to determine if the target record exists and is accessible. #109 exemplifies the problem. Further, when an identified remote record is perishable there should either be a persistent way of archiving it (wayback for URLs, perhaps?) or a redirect mechanism in place (as for OCLCn redirections)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants