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

Traversal robustness #20

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Traversal robustness #20

wants to merge 2 commits into from

Conversation

DILewis
Copy link
Contributor

@DILewis DILewis commented Mar 25, 2023

  1. In setting up a Caddy web server for RDF, I came across situations under which no Content-Type was being received, at which point, traversal breaks, because of string operations being performed on null. This patch resolves this. It also introduces a presumption of RDF nquads (which should, I think, fail gracefully if parsing doesn't work).
  2. I've added a parameter to the traverser to permit a check for common file extensions – these shouldn't need checking for RDF, so can be excluded from traversal. I haven't benchmarked whether this improves performance.

@DILewis DILewis requested a review from musicog March 25, 2023 15:38
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