Remove trailing slashes and update redirected Ultralytics URLs - #33
Conversation
|
👋 Hello @pderrenger, thank you for submitting a
For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀 |
UltralyticsAssistant
left a comment
There was a problem hiding this comment.
🔍 PR Review
Made with ❤️ by Ultralytics Actions
Reviewed all four changed files and the 14-line URL-only diff. The changes preserve link targets and surrounding Markdown/YAML behavior while removing the specified trailing slashes and upgrading the Ghostscript link to HTTPS. LGTM.
|
🎉 PR #33 has been merged! Thank you, @pderrenger, for the careful cleanup.
This contribution canonicalizes Ultralytics URLs, upgrades the Ghostscript link to HTTPS, and keeps MATLAB code and assets unchanged. |
Canonicalizes Ultralytics links to their slash-free form and refreshes one redirected external link.
Trailing slashes (6 removed across 4 files)
Every
ultralytics.com/*.ultralytics.comURL that ended in a terminating path slash now drops it. Only slashes terminating a path were touched — path separators, URL-encoded params, and non-Ultralytics hosts are untouched.README.mdhttps://www.ultralytics.com/(logo link)https://www.ultralytics.comREADME.mdhttps://community.ultralytics.com/(Forums badge target)https://community.ultralytics.comREADME.mdhttps://www.ultralytics.com/).(website sentence)https://www.ultralytics.com).thirdparty/altmany-export_fig-cafc7c5/README.mdhttps://www.ultralytics.com/(logo link)https://www.ultralytics.com.github/ISSUE_TEMPLATE/bug-report.ymlhttps://docs.ultralytics.com/help/minimum-reproducible-example/.../minimum-reproducible-example.github/ISSUE_TEMPLATE/config.ymlhttps://community.ultralytics.com/https://community.ultralytics.comAll six slash-free targets were verified to return HTTP 200 with no redirect hop.
Deliberately left alone:
https://ultralytics.com/licenseheaders — already slash-free, and written by Ultralytics Actions.server=https%3A%2F%2Fcommunity.ultralytics.com— URL-encoded and must stay byte-identical for shields.io.https://ultralytics.com/discordandhttps://ultralytics.com/bilibili— vanity shortlinks with no terminating slash.Redirect refresh (1 accepted, 5 rejected)
Accepted:
http://www.ghostscript.com→https://www.ghostscript.cominthirdparty/altmany-export_fig-cafc7c5/README.md— a permanent 301 HTTP→HTTPS upgrade (the server-added trailing slash was dropped to match the repo's canonical form).Rejected after review:
https://reddit.com/r/ultralytics→https://www.reddit.com/r/ultralytics/— host/slash canonicalization only, not a content move; this is the standard Ultralytics README badge target used across repositories.https://github.com/altmany/export_fig/archive/master.zip→https://codeload.github.com/...— a temporary (302) archive-serving hop, not a durable link.https://www.cia.gov/library/publications/the-world-factbook/fields/2070.html→ a "farewell" story page — the cited page is gone, not relocated.http://www.cartotalk.com→https://nacis.org/— a defunct site collapsing onto a different organization's homepage.http://www.naturalearthdata.com/updates/→.../updates/mail.cgi— a handler append, not a content move.Scope notes
mapping/ne_10m_*/*.README.htmlare archived snapshots of the Natural Earth website shipped alongside the shapefiles (they contain the site's WordPress login, admin, and forum links). They are historical third-party records, so their ~100 stale links were left untouched rather than rewritten.export_figMATLAB sources were also left untouched; their URLs sit insidefprintfconsole-hyperlink strings in code pinned to upstream commitcafc7c5.Flagged for follow-up (no code change)
http://www.foolabs.com/xpdfinthirdparty/altmany-export_fig-cafc7c5/export_fig.mreturns 404 — dead, and the site has no working replacement at that path.http://www.xpdfreader.cominthirdparty/altmany-export_fig-cafc7c5/README.mdcannot be upgraded to HTTPS — the host fails TLS negotiation, so the HTTP form is intentionally retained.http://www.vliz.be/vmdcdata/marbound.(Natural Earth README) collapses to themarineregions.orghomepage — a dead deep link needing a human-chosen replacement.Validation
github.com/ultralytics/..., look-alike hosts, URL-encoded params,{placeholder}templates, and/...ellipses).prettier@3.8.5 --print-width 120 --checkclean on all changed files; all changed YAML parses.🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Canonicalized six Ultralytics URLs by removing trailing slashes and updated the Ghostscript link to HTTPS without changing MATLAB code or assets.
📊 Key Changes
README.mdfiles to their slash-free canonical forms..github/ISSUE_TEMPLATE/bug-report.yml..github/ISSUE_TEMPLATE/config.yml.thirdparty/altmany-export_fig-cafc7c5/README.mdfrom HTTP to HTTPS.🎯 Purpose & Impact