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

Check whether an EncodedURL can be decoded before giving it back #178

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

exarkun
Copy link
Contributor

@exarkun exarkun commented Aug 27, 2022

This fixes #153 by fixing only the Hypothesis strategy for DecodedURL. It doesn't stop encoded_urls from finding EncodedURL values which cannot be decoded by DecodedURL. It only catches these values in the decoded_urls strategy.

This might be the wrong change to make since it really only hides the fact that not all EncodedURL values can be decoded with DecodedURL. It seems like fixing the actual decoding in DecodedURL would be better, but I'm not sure how to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant