Closed mattbasta closed 7 years ago
When constructing URLs (like this), the formatted values should probably be URL encoded. If a string contains, say, a question mark, it will create an invalid URL.
Python 3 urlencode(): https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlencode
urlencode()
Python 2 urlencode(): https://docs.python.org/2/library/urllib.html#urllib.urlencode
This came from the TM1py library which I bundled in for dealing with Sublime Text quirkiness. I was able to unbundle it though. Thanks!
When constructing URLs (like this), the formatted values should probably be URL encoded. If a string contains, say, a question mark, it will create an invalid URL.
Python 3
urlencode()
: https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlencodePython 2
urlencode()
: https://docs.python.org/2/library/urllib.html#urllib.urlencode