[Python-Dev] cpython (3.2): Fix issue14826 - make urllib.request.Request quoted url consistent with
Antoine Pitrou
solipsis at pitrou.net
Sun Jul 8 02:27:46 CEST 2012
>
> + def test_quote_url(self):
> + Request = urllib.request.Request
> + request = Request("http://www.python.org/foo bar")
> + self.assertEqual(request.full_url, "http://www.python.org/foo%20bar")
> +
This means someone who already quotes URL will get a double escaping,
right?
Regards
Antoine.
More information about the Python-Dev
mailing list