Remove trailing slashes and update redirected Ultralytics URLs - #45
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 both changed URL-only lines in the issue templates. The trailing-slash removals preserve valid YAML, Markdown links, and GitHub contact-link behavior. LGTM.
|
🎉 This PR has been merged—thank you, @pderrenger!
Your careful cleanup removes trailing slashes from the Ultralytics issue-template links while preserving their destinations, keeping the templates functionally unchanged. Great contribution! |
Summary
Removes terminating path slashes from Ultralytics URLs and refreshes redirected links across the repository.
Trailing slashes (2 fixed, 2 files)
.github/ISSUE_TEMPLATE/config.yml—https://community.ultralytics.com/→https://community.ultralytics.com.github/ISSUE_TEMPLATE/bug-report.yml—https://docs.ultralytics.com/help/minimum-reproducible-example/→https://docs.ultralytics.com/help/minimum-reproducible-exampleApplied with a regex fixer validated on 17 positive and 15 negative cases (subdomains, protocol-relative, bare host, fragment/query, sentence-final punctuation) before touching the tree. Negatives left untouched and verified in this repo:
https://github.com/ultralytics/assets/raw/...and other non-Ultralytics paths — slashes there are separators, not terminators.server=https%3A%2F%2Fcommunity.ultralytics.comin the Forums badge — URL-encoded parameter, kept byte-identical.hello@ultralytics.cominopenapi.config.json— email, not a URL.https://pypi.org/project/${config.python.project}/inlib/generators/python.ts— template literal on a non-Ultralytics host.https://www.linkedin.com/company/ultralytics/,https://www.gnu.org/licenses/,https://docs.astral.sh/uv/,https://bun.sh/— not Ultralytics domains, out of scope.LICENSE— legal text, skipped.Redirects (0 accepted, 1 rejected)
All 26 linked URLs were resolved; every Ultralytics link already returns 200 with no redirect (
docs.ultralytics.com/help/contributing,/help/CLA,/help/minimum-reproducible-example,/zh/help/contributing,platform.ultralytics.com/api/docs,community.ultralytics.com,www.ultralytics.com/license,www.ultralytics.com/survey?...).One proposed replacement was rejected after manual inspection:
https://reddit.com/r/ultralytics→https://www.reddit.com/r/ultralytics/. The chain is301towww.reddit.com/r/ultralytics, then a second301that re-adds a trailing slash — the exact pattern this PR removes. The source is also the standard Ultralytics social footer replicated verbatim across every Ultralytics repository, so changing it here alone would desync the shared block. Both forms serve the same content.No dead links and no homepage/index collapses were detected.
Validation
prettier@3.8.5 --print-width 120 --check.🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Updated two Ultralytics links in GitHub issue templates to remove trailing slashes while preserving their destinations.
📊 Key Changes
.github/ISSUE_TEMPLATE/bug-report.yml..github/ISSUE_TEMPLATE/config.yml.🎯 Purpose & Impact