Skip to content

Fix URL normalization for URLs without scheme (#177) #179

Merged
reganlawton merged 4 commits intomasterfrom
feature/pr-177
Mar 5, 2026
Merged

Fix URL normalization for URLs without scheme (#177) #179
reganlawton merged 4 commits intomasterfrom
feature/pr-177

Conversation

@reganlawton
Copy link
Copy Markdown
Member

Summary

  • URLs without scheme (e.g., youtube.com/watch?v=xxx) are now automatically normalized with https:// instead of being silently cleared on save
  • Fixed inconsistent return type in normalizeValue() when input was already an OembedModel

Test plan

  • Added unit tests for URL normalization in OembedFieldTest

Fixes #177 #178

@reganlawton reganlawton merged commit 1052ae6 into master Mar 5, 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.

Invalid links cleared out on save without any warning

1 participant