Provides a fix for URI parsing exceptions InvalidURIError #1

Merged
merged 1 commit into from May 3, 2012

2 participants

@chrisnicola

This is from actual usage with DDG. It is possible to get URIs that
contain spaces in them and are unescpaed. I assume it is also possible
they could contain other special characters unescaped. It makes sense to
escape the values to ensure they are 'clean'.

Specific example search was "Video Games"

Chris Nicola Provides a fix for URI parsing exceptions InvalidURIError
This is from actual usage with DDG. It is possible to get URIs that
contain spaces in them and are unescpaed. I assume it is also possible
they could contain other special characters unescaped. It makes sense to
escape the values to ensure they are 'clean'.
ee23fef
@andrewrjones

Thanks for the patch.

Sorry I haven't got around to applying it yet - will hopefully do it this weekend.

@andrewrjones andrewrjones merged commit b36446c into andrewrjones:master May 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment