[tahoe-dev] [tahoe-lafs] #1350: SFTP: clients may misparse directory listings with filenames containing unusual characters

tahoe-lafs trac at tahoe-lafs.org
Wed Feb 2 01:05:51 UTC 2011


#1350: SFTP: clients may misparse directory listings with filenames containing
unusual characters
---------------------------+------------------------------------------------
 Reporter:  davidsarah     |           Owner:           
     Type:  defect         |          Status:  new      
 Priority:  major          |       Milestone:  undecided
Component:  code-frontend  |         Version:  1.8.2    
 Keywords:  sftp names     |   Launchpad Bug:           
---------------------------+------------------------------------------------
 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.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1350>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-dev mailing list