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

fix: Handle double encoding of URL #45

Merged
merged 2 commits into from
Feb 5, 2025
Merged

fix: Handle double encoding of URL #45

merged 2 commits into from
Feb 5, 2025

Conversation

jirispilka
Copy link
Collaborator

No description provided.

@jirispilka jirispilka requested a review from MQ37 February 4, 2025 20:29
const result = tryValid(candidate);
if (result) return result;
try {
candidate = decodeURIComponent(candidate);
Copy link
Member

@jancurn jancurn Feb 4, 2025

Choose a reason for hiding this comment

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

Comment with explanation would be nice

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks, I was a bit lazy 😊 . Fixed

Copy link
Contributor

@MQ37 MQ37 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@jirispilka jirispilka merged commit ce2a304 into master Feb 5, 2025
1 check passed
@jirispilka jirispilka deleted the fix/decode-url branch February 5, 2025 09:07
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.

3 participants