|
19 | 19 | uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', |
20 | 20 | 'imap', 'wais', 'file', 'mms', 'https', 'shttp', |
21 | 21 | 'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '', |
22 | | - 'svn', 'svn+ssh', 'sftp'] |
| 22 | + 'svn', 'svn+ssh', 'sftp','nfs'] |
23 | 23 | non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', |
24 | 24 | 'telnet', 'wais', 'imap', 'snews', 'sip', 'sips'] |
25 | 25 | uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap', |
@@ -645,7 +645,7 @@ def splitpasswd(user): |
645 | 645 | global _passwdprog |
646 | 646 | if _passwdprog is None: |
647 | 647 | import re |
648 | | - _passwdprog = re.compile('^([^:]*):(.*)$') |
| 648 | + _passwdprog = re.compile('^([^:]*):(.*)$',re.S) |
649 | 649 |
|
650 | 650 | match = _passwdprog.match(user) |
651 | 651 | if match: return match.group(1, 2) |
|
0 commit comments