[Bugs] #3556 Browse UNSP: Browse: download if HTTP header is Content-Disposition: attachment

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed May 30 16:39:06 EDT 2012


#3556: Browse: download if HTTP header is Content-Disposition: attachment
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  manuq        
        Type:  defect                     |         Status:  new          
    Priority:  Unspecified by Maintainer  |      Milestone:  0.96         
   Component:  Browse                     |        Version:  Unspecified  
    Severity:  Unspecified                |       Keywords:  12.1.0, patch
Distribution:  Unspecified                |   Status_field:  Unconfirmed  
------------------------------------------+---------------------------------

Comment(by humitos):

 Oh, sorry. I didn't know about that behavior of Browse. I didn't know that
 if Browse doesn't know how to manage the file type it will download the
 file automatically.

 ... after some test ...

 I'm sure ''WHY'' this is working '''without''' the patch applied. I tested
 these two cases:
  * Click on [this image
 http://upload.wikimedia.org/wikipedia/commons/5/51/Google.png] (without
 Content-Disposition: attachment) and Browse shows it on the tab.
  * Click on [this image http://bugs.sugarlabs.org/raw-
 attachment/ticket/3556/Captura%20pantalla%20de%20_Actividad%20Navegar_.png]
 (with Content-Disposition: attachment) and Browse downloads it
 automatically.

 So, there are nothing to fix here. Close this ticket if you consider that
 there is no bug here. At least these comments will be useful as
 documentation :)

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


More information about the Bugs mailing list