Skip to content

Conversation

@newstler
Copy link
Owner

@newstler newstler commented Feb 10, 2026

Summary

  • External user links (website, LinkedIn) without a protocol prefix were rendered as relative paths (e.g. rubycommunity.org/hansschnedlitz.com instead of https://hansschnedlitz.com)
  • Added ensure_protocol helper that prepends https:// when the URL doesn't start with http:// or https://

Test plan

  • Visit a user profile where the website field has no protocol (e.g. example.com)
  • Verify the website icon links to https://example.com instead of a relative path
  • Verify LinkedIn links without protocol also work correctly
  • Verify links that already have https:// are unchanged

🤖 Generated with Claude Code

Website and LinkedIn URLs without a protocol (e.g. "example.com") were
rendered as relative paths, linking to rubycommunity.org/example.com
instead of the external site.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@newstler newstler merged commit 9ff03f1 into main Feb 11, 2026
4 checks passed
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.

1 participant