Files
cpython/Lib
Guido van Rossum 33add0a95a Sjoerd Mullender:
File names with "funny" characters get translated wrong by
pathname2url (any variety).  E.g. the (Unix) file "/ufs/sjoerd/#tmp"
gets translated into "/ufs/sjoerd/#tmp" which, when interpreted as a
URL is file "/ufs/sjoerd/" with fragment ID "tmp".

Here's an easy fix.  (An alternative fix would be to change the
various implementations of pathname2url and url2pathname to include
calls to quote and unquote.

[The main problem is with the normal use of URLs:
	url = url2pathname(file)
	transmit url
	url, tag = splittag(url)
	urlopen(url)
]

In addition, this patch fixes some uses of unquote:
- the host part of URLs should be unquoted
- the file path in the FTP URL should be unquoted before it is split
  into components.
- because of the latter, I removed all unquoting from ftpwrapper,
  and moved it to the caller, but that is not essential
1998-12-18 15:25:22 +00:00
..
1998-10-17 18:09:27 +00:00
1996-08-08 18:24:58 +00:00
1996-08-08 18:24:58 +00:00
1998-08-07 15:28:23 +00:00
1998-08-07 15:28:23 +00:00
1996-08-16 18:14:41 +00:00
1998-05-06 13:48:04 +00:00
1998-10-02 01:19:48 +00:00
1998-08-07 15:28:23 +00:00
1998-12-07 04:08:03 +00:00
1998-09-11 22:33:08 +00:00
1998-07-07 14:58:39 +00:00
1997-10-24 14:46:16 +00:00
1998-10-21 22:06:56 +00:00
1997-10-20 23:16:58 +00:00
1998-05-20 17:05:52 +00:00
1998-08-07 15:26:56 +00:00
1998-06-29 17:58:43 +00:00
1998-10-22 20:15:36 +00:00
1998-04-06 14:29:28 +00:00
1998-04-06 14:14:25 +00:00
1998-12-07 04:08:30 +00:00
1998-12-04 16:42:46 +00:00
1998-12-18 15:25:22 +00:00
1998-12-08 13:25:00 +00:00