Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

Re: cpython (3.2): Fix issue14826 - make urllib.request.Request quoted url consistent with

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


solipsis at pitrou

Jul 7, 2012, 5:27 PM

Post #1 of 1 (102 views)
Permalink
Re: cpython (3.2): Fix issue14826 - make urllib.request.Request quoted url consistent with

>
> + 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.


_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.