Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Addressable to heuristically parse invalid URLs and normalize them #603

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

chvp
Copy link
Collaborator

@chvp chvp commented Jan 27, 2025

This fixes the rendering of two posts that were failing from my feeds. There is already an indirect dependency on addressable anyway.

@chvp chvp force-pushed the fix/invalid-urls branch from d00ea8b to c1edcf0 Compare January 27, 2025 15:38
@robbevp robbevp added the bug Something isn't working label Jan 27, 2025
@robbevp robbevp self-requested a review January 27, 2025 16:30
Copy link
Owner

@robbevp robbevp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Didn't know about addressable. I got some errors in sentry around url with unicode as well (from the background jobs)

@chvp chvp force-pushed the fix/invalid-urls branch from c1edcf0 to b269d73 Compare January 27, 2025 17:09
@chvp chvp merged commit a204e9c into robbevp:main Jan 27, 2025
5 checks passed
@chvp chvp deleted the fix/invalid-urls branch January 27, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants