SFTP: clients may misparse directory listings with filenames containing unusual characters #1350

Open
opened 2011-02-02 01:05:51 +00:00 by davidsarah · 1 comment
davidsarah commented 2011-02-02 01:05:51 +00:00
Owner

For example, FileZilla misparses filenames containing CR (U+000D), such as "blamp \r$(curl noncombatant.org)" currently in the public directory of the test grid. It appears to treat the characters after the \r as a separate line (judging from the Message log when 'Edit menu | Settings... | Debug | Show raw directory listing' is checked).

I think we should be stripping out children with names containing characters below U+0020 when found in a directory, and rejecting attempts to create them. See also #731.

For example, FileZilla misparses filenames containing CR (U+000D), such as "blamp \r$(curl noncombatant.org)" currently in the public directory of the test grid. It appears to treat the characters after the \r as a separate line (judging from the Message log when 'Edit menu | Settings... | Debug | Show raw directory listing' is checked). I think we should be stripping out children with names containing characters below U+0020 when found in a directory, and rejecting attempts to create them. See also #731.
tahoe-lafs added the
code-frontend
major
defect
1.8.2
labels 2011-02-02 01:05:51 +00:00
tahoe-lafs added this to the undecided milestone 2011-02-02 01:05:51 +00:00
zooko commented 2011-02-02 22:02:58 +00:00
Author
Owner

This would be consistent with David A. Wheeler's suggestionL: http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html .

This would be consistent with David A. Wheeler's suggestionL: <http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html> .
tahoe-lafs modified the milestone from undecided to 1.10.0 2011-08-16 03:56:07 +00:00
tahoe-lafs added
code-frontend-ftp-sftp
and removed
code-frontend
labels 2014-12-02 19:44:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#1350
No description provided.