Skip to content

Fix malformed DOI link to the null-values article - #177

Open
A-G0D wants to merge 1 commit into
LibraryCarpentry:mainfrom
A-G0D:fix/doi-link
Open

A-G0D wants to merge 1 commit into
LibraryCarpentry:mainfrom
A-G0D:fix/doi-link

Conversation

@A-G0D

@A-G0D A-G0D commented Oct 28, 2026

Copy link
Copy Markdown

What this fixes

Fixes #173. In the "Using bad null values" section, the DOI citation for White et al. links to
https://10.4033/iee.2013.6b.6.f. Because 10.4033 is inside the private IPv4 range, the browser
treats it as a host address (10.0.15.193) rather than a DOI, so the link never reaches the
article.

Reproduction: curl -sIL https://10.4033/iee.2013.6b.6.f fails with no HTTP response and reports
the effective URL as https://10.0.15.193/iee.2013.6b.6.f.

Root cause

episodes/02-common-mistakes.md:131 uses the bare DOI string as the href instead of the canonical
doi.org resolver URL.

Fix

Point the existing link at https://doi.org/10.4033/iee.2013.6b.6.f. The link text and surrounding
prose are unchanged.

Verification

  • curl -sIL https://10.4033/iee.2013.6b.6.f → no response, resolves to https://10.0.15.193/...
    (before)
  • curl -sIL https://doi.org/10.4033/iee.2013.6b.6.f → 200, redirects to
    https://ojs.library.queensu.ca/index.php/IEE/article/view/4608 (after)
  • grep -rn "10\.4033" --include=*.md . → only the corrected doi.org URL remains
  • git diff --check → clean
  • The lesson site is built by The Carpentries Workbench (sandpaper + pandoc + the
    carpentries/workbench-docker image) in CI. R and pandoc are not installed in this environment,
    so the site build itself could not be run locally; the change is a URL-only edit in Markdown.

Risk / rollback

One URL in one file, no prose or build changes. Reverting the commit restores the previous link.

AI assistance: prepared with an AI coding agent; I reviewed and ran the checks above.

The DOI link used https://10.4033/... which browsers and curl treat as a
private IP address instead of a DOI resolver. Use the canonical
https://doi.org/ resolver. Fixes LibraryCarpentry#173.
@github-actions

Copy link
Copy Markdown

🆗 Pre-flight checks passed 😃

This pull request has been checked and contains no modified workflow files, spoofing, or invalid commits.

It should be safe to Approve and Run the workflows that need maintainer approval.

This branch has not been deployed

No deployments
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.

Broken DOI link

1 participant