abrowser want to open .tgz and .torrent with gedit

Projekt:Trisquel
Version:6.0
Komponente:Programs
Kategorie:Fehlerbericht
Priorität:normal
Zugewiesen:nicht zugewiesen
Status:wrong
Beschreibung

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 - 03: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?

Fr, 04/12/2013 - 17: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

Fr, 04/12/2013 - 19: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 - 04:55
Status:active» wrong

Changing status to "wrong"