diff Lib/urlparse.py @ 81027:ff0426b5d75e 2.7

Fix issue16713 - tel url parsing with params
author Senthil Kumaran <senthil@uthcode.com>
date Mon, 24 Dec 2012 13:56:54 -0800
parents a43481210964
children 4927899bea8d
line wrap: on
line diff
--- a/Lib/urlparse.py	Mon Dec 24 20:09:27 2012 +0200
+++ b/Lib/urlparse.py	Mon Dec 24 13:56:54 2012 -0800
@@ -42,7 +42,7 @@
                'svn', 'svn+ssh', 'sftp','nfs','git', 'git+ssh']
 uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap',
                'https', 'shttp', 'rtsp', 'rtspu', 'sip', 'sips',
-               'mms', '', 'sftp']
+               'mms', '', 'sftp', 'tel']
 
 # These are not actually used anymore, but should stay for backwards
 # compatibility.  (They are undocumented, but have a public-looking name.)