[Bugs] #1638 UNSP: Browse.xo mangles filenames during upload

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Oct 13 16:01:03 EDT 2010


#1638: Browse.xo mangles filenames during upload
------------------------------------------+---------------------------------
    Reporter:  martin.langhoff            |          Owner:  lucian                     
        Type:  defect                     |         Status:  accepted                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Browse                     |        Version:  0.84.x                     
    Severity:  Unspecified                |       Keywords:  dextrose                   
Status_field:  Assigned                   |   Distribution:  OLPC                       
   Seeta_dev:  Lucian                     |  
------------------------------------------+---------------------------------
Changes (by lucian):

  * owner:  erikos => lucian
  * status:  assigned => accepted
  * status_field:  Unconfirmed => Assigned


Comment:

 It seems this is deliberate:
 http://git.sugarlabs.org/projects/browse/repos/mainline/blobs/master/filepicker.py#line165

 So far, the best solution I can think of is always appending
 mime_extension. We could have a database of which extensions not to append
 to, like "jpg" vs "jpeg", but that may be too long a regex.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1638#comment:7>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list