Skip to content

Use purposefully invalid URLs.#1328

Merged
gouttegd merged 2 commits intomasterfrom
use-invalid-urls
Mar 1, 2026
Merged

Use purposefully invalid URLs.#1328
gouttegd merged 2 commits intomasterfrom
use-invalid-urls

Conversation

@gouttegd
Copy link
Copy Markdown
Collaborator

@gouttegd gouttegd commented Mar 1, 2026

This commit updates the default entity creation preferences so that the default base IRI is no longer http://www.co-ode.org/ontologies/ont.owl, since the www.co-ode.org domain is now reportedly being used for fraudulent/malicious activities.

We use instead http://example.invalid/, to make it clear that this is purely a default IRI that the user should replace by something more appropriate.

The .invalid top-level domain is guaranteed never to resolve to anything (as per RFCs 2606 and 6761), so there should be no risk that it could later be used for malicious purposes.

We also update all the ontologies used in tests (such as the pizza ontology) to similarly use the example.invalid domain name. We also replace a handful of other potentially real domain names used in tests (such as tigraworld.com or test.com), for the same reason.

closes #807

This commit updates the default entity creation preferences so that the
default base IRI is no longer http://www.co-ode.org/ontologies/ont.owl,
since the www.co-ode.org domain is now reportedly being used for
fraudulent/malicious activities.

We use instead `http://example.invalid/`, to make it clear that this is
purely a _default_ IRI that the user should replace by something more
appropriate.

The `.invalid` top-level domain is guaranteed never to resolve to
anything (as per RFCs 2606 and 6761), so there should be no risk that it
could later be used for malicious purposes.

We also update all the ontologies used in tests (such as the pizza
ontology) to similarly use the `example.invalid` domain name.

closes #807
@gouttegd gouttegd self-assigned this Mar 1, 2026
@gouttegd gouttegd merged commit b442e25 into master Mar 1, 2026
6 checks passed
@gouttegd gouttegd deleted the use-invalid-urls branch March 1, 2026 16:02
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.

Default IRI in the Preferences 'New Entities' tab should be updated

1 participant