abrowser want to open .tgz and .torrent with gedit

Proyecto:Trisquel
Versión:6.0
Componente:Programs
Categoría:informe de fallo
Prioridad:normal
Asignado:No asignado
Estado:wrong
Descripción

When clicking on links to .tgz files or .torrent files on the web, it is asked if you want to save the file or open it with a default application. I think that default application for tgz would be file-roller and for torrent would be transmission. Choosing gedit in this case has no sense at all.

Mié, 04/03/2013 - 02:53

This may depend on the MIME type sent by the server rather than the file extension. Torrent files in Abrowser have always suggested Transmission by default for me.

Can you use a packet sniffer like Wireshark or HttpFox to check the Content-Type header and check if this is the case?

Vie, 04/12/2013 - 16:02

I'm having that behaviour with this torrent, for example.

http://repo.parabolagnulinux.org/iso/2012.10.17/parabola-2012.10.17-dual.iso.torrent

Vie, 04/12/2013 - 18:18

Confirmed.

This online tool can also be used http://web-sniffer.net/?url=http%3A%2F%2Frepo.parabolagnulinux.org%2Fiso%2F2012.10.17%2Fparabola-2012.10.17-dual.iso.torrent&submit=Submit&http=1.1&gzip=yes&type=GET&uak=0

to see that this file is served as '''application/octet-stream''' which is wrong. That is a catchall random mime type. The correct mime type would be application/x-bittorrent. [1]

1 http://www.bittorrent.org/beps/bep_0003.html#to-start-serving-a-host-goes-through-the-following-steps

In other words, it's a problem at the server and can't really be helped.

Mié, 09/11/2013 - 03:55
Estado:active» wrong

Changing status to "wrong"