Commit 6c961ef2 authored by Andreas Jung's avatar Andreas Jung

- FTP: Spaces in usernames inside a FTP file listing are now

        replaced by underscores to avoid confusion with some FTP clients.
parent 9d1a288c
# -*- Mode: Python; tab-width: 4 -*-
# $Id: filesys.py,v 1.9 2001/05/01 11:44:48 andreas Exp $
# $Id: filesys.py,v 1.10 2002/02/15 18:41:43 andreasjung Exp $
# Author: Sam Rushing <rushing@nightmare.com>
#
# Generic filesystem interface.
......@@ -396,8 +396,8 @@ def unix_longify (file, stat_info):
dirchar,
mode,
stat_info[stat.ST_NLINK],
stat_info[stat.ST_UID],
stat_info[stat.ST_GID],
stat_info[stat.ST_UID].replace(' ','_'),
stat_info[stat.ST_GID].replace(' ','_'),
stat_info[stat.ST_SIZE],
date,
file
......
......@@ -25,6 +25,10 @@ Zope Changes
because the downloaded file has been stored with a HTTP
header at the beginning of the file. Fixed!
- FTP: Spaces in usernames inside a FTP file listing are now
replaced by underscores to avoid confusion with some FTP clients.
Zope 2.5.1 beta 1
Bugs Fixed
......
# -*- Mode: Python; tab-width: 4 -*-
# $Id: filesys.py,v 1.9 2001/05/01 11:44:48 andreas Exp $
# $Id: filesys.py,v 1.10 2002/02/15 18:41:43 andreasjung Exp $
# Author: Sam Rushing <rushing@nightmare.com>
#
# Generic filesystem interface.
......@@ -396,8 +396,8 @@ def unix_longify (file, stat_info):
dirchar,
mode,
stat_info[stat.ST_NLINK],
stat_info[stat.ST_UID],
stat_info[stat.ST_GID],
stat_info[stat.ST_UID].replace(' ','_'),
stat_info[stat.ST_GID].replace(' ','_'),
stat_info[stat.ST_SIZE],
date,
file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment