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

Canonicalize and dedup URLs in to_rb #61

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Feb 19, 2024

  1. Canonicalize and dedup URLs in to_rb

    JSON::LD::Context#parse will only look in the PRELOADED hash with a
    fully canonicalized URL including replacing https with http. This means
    that any preloads or aliases under non-canonicalized names can't be used
    and will just waste memory.
    
    This commit fully canonicalizes both the base and alias URLs (including
    changing https to http) and removes any duplicates.
    jhawthorn committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    ab912a5 View commit details
    Browse the repository at this point in the history