diff options
author | Gregory P. Smith <greg@krypto.org> | 2023-05-09 14:04:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 14:04:50 (GMT) |
commit | 82f789be3b15df5f6660f5fd0c563ad690ee00fb (patch) | |
tree | f9c50ed83da5f8d9623710559106e8bc0a66a10f /Lib/urllib | |
parent | ca95edf177e3c10e10d7011ed52619b1312cf15e (diff) | |
download | cpython-82f789be3b15df5f6660f5fd0c563ad690ee00fb.zip cpython-82f789be3b15df5f6660f5fd0c563ad690ee00fb.tar.gz cpython-82f789be3b15df5f6660f5fd0c563ad690ee00fb.tar.bz2 |
gh-104139: Add itms-services to uses_netloc urllib.parse. (#104312)
Teach unsplit to retain the `"//"` when assembling `itms-services://?action=generate-bugs` style
[Apple Platform Deployment](https://support.apple.com/en-gb/guide/deployment/depce7cefc4d/web) URLs.
Diffstat (limited to 'Lib/urllib')
-rw-r--r-- | Lib/urllib/parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py index 5f95c5f..777b7c5 100644 --- a/Lib/urllib/parse.py +++ b/Lib/urllib/parse.py @@ -54,7 +54,7 @@ uses_netloc = ['', 'ftp', 'http', 'gopher', 'nntp', 'telnet', 'imap', 'wais', 'file', 'mms', 'https', 'shttp', 'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', 'svn', 'svn+ssh', 'sftp', 'nfs', 'git', 'git+ssh', - 'ws', 'wss'] + 'ws', 'wss', 'itms-services'] uses_params = ['', 'ftp', 'hdl', 'prospero', 'http', 'imap', 'https', 'shttp', 'rtsp', 'rtspu', 'sip', 'sips', |