Skip to content

fix(arXiv): arXiv limited support & errors#100

Open
weberBen wants to merge 3 commits intodavidagraf:masterfrom
weberBen:patch-1
Open

fix(arXiv): arXiv limited support & errors#100
weberBen wants to merge 3 commits intodavidagraf:masterfrom
weberBen:patch-1

Conversation

@weberBen
Copy link
Copy Markdown

@weberBen weberBen commented Feb 16, 2025

arXiv limited support & errors

  • Strip non-printable ASCII characters from input (fixes copy-paste issues with hidden line breaks)
  • Add support for multiple arXiv URL formats (arxiv.org/abs/, doi.org/10.48550/arXiv., bare IDs, etc.)
  • Fix arXiv DOI retrieval: distinguish between external journal DOIs and arXiv-only preprints

Removing all non-printable ASCII characters (such as line breaks, tabs, and control characters) instead of just white spaces from DOI-like url.

For example, copying a DOI from arXiv page, include a hidden line break before the DOI url that cause errors.
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
doi2bib2 ❌ Failed (Inspect) Feb 16, 2025 2:04am

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 29, 2025

Someone is attempting to deploy a commit to the Doi2bib Team on Vercel.

A member of the Team first needs to authorize it.

@weberBen weberBen changed the title fix(Doi2Bib): remove non printable chars from url id fix(arXiv): Enhanced arXiv support and input sanitization Oct 29, 2025
@weberBen weberBen changed the title fix(arXiv): Enhanced arXiv support and input sanitization fix(arXiv): arXiv limited support & errors Oct 29, 2025
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.

1 participant