New submission from Senthil Kumaran <orsent...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10063>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to