hyperlink
hyperlink copied to clipboard
Check whether an EncodedURL can be decoded before giving it back
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.