[New-bugs-announce] [issue10063] file:// scheme will stop accessing via ftp protocol

Senthil Kumaran report at bugs.python.org
Sun Oct 10 11:40:24 CEST 2010

New submission from Senthil Kumaran <orsenthil at gmail.com>:

file:// scheme should not be allowed to access a file on remote machines.  RFC 1738, says that host, if present should be the FQDN of the machine, but relaxing on that I thinking that localhost and its variants should okay as long as it is the local machine.

What is going to break in 3.2 is file:// trying to access resources on remote machine via FTP, which it is currently trying to do.

Attached is patch to accomplish this.(NEWS and Docs will be added).

This would introduce a regression, so this may not be backported.

assignee: orsenthil
components: Library (Lib)
files: file_scheme.diff
keywords: patch
messages: 118327
nosy: orsenthil
priority: normal
severity: normal
stage: patch review
status: open
title: file:// scheme will stop accessing via ftp protocol
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file19182/file_scheme.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list