[Pidgin] #3982: Fix: Autoaccept plugin saves files to subdirectories based on resource

Pidgin trac at pidgin.im
Wed Dec 5 02:05:51 EST 2007


#3982: Fix: Autoaccept plugin saves files to subdirectories based on resource
----------------------+-----------------------------------------------------
  Reporter:  galt     |       Owner:                        
      Type:  patch    |      Status:  new                   
  Priority:  minor    |   Milestone:                        
 Component:  plugins  |     Version:  2.2.2                 
Resolution:           |    Keywords:  autoaccept,xmpp,jabber
   Pending:  0        |  
----------------------+-----------------------------------------------------
Comment (by galt):

 Replying to [comment:8 sadrul at pidgin.im]:
 > (In [81a2d60e6ab943bb88178215dd69843570bae655]) Normalize and escape the
 filename when auto-accepting a file. References #3982.
 Shouldn't the filename be escaped regardless of auto-accept? There's no
 legitimate reason for someone to send a file named as a path.

 Replying to [comment:9 sadrul]:
 > I am tempted to just add a number at the end of the filename (e.g.,
 'abc.bmp-1') to avoid overwriting a file.
 I think that would be much better than overwriting.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3982#comment:10>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list