Progetto: | Trisquel |
Versione: | 6.0 |
Componente: | Programs |
Categoria: | segnalazione di bug |
Priorità: | normal |
Assigned: | Non assegnata |
Stato: | wrong |
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.
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?
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
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.
Changing status to "wrong"