Ticket #498 (new defect)

Opened 4 years ago

Last modified 2 years ago

package downloads confuse IE6 and webkit-gtk browsers

Reported by: duncan Owned by:
Priority: normal Milestone:
Component: hackageDB website Version:
Severity: normal Keywords:
Cc: uzytkownik2@… Difficulty: normal
GHC Version: Platform: Windows

Description

In IE6 the .tar.gz packages from the Hackage website get downloaded and saved by the browser with the wrong name. For example foo-1.0.tar.gz gets saved as foo-1.0.tar.tar.

Currently the apache config for the hackage website is such that it send these headers for .tar.gz files:

Content-Type: application/x-tar
Content-Encoding: x-gzip

This apparently confuses IE6. This has been  reported elsewhere previously.

So we are looking for help in finding a workaround. We want to adjust our apache config so that for the IE6 user agent it reports a mime time and encoding that will make IE6 save the file properly. For example we guess that sending Content-Type: application/x-gzip and no Content-Encoding would make IE6 do the right thing.

So how do we actually configure apache to do this? Can we get some help testing it?

Change History

Changed 2 years ago by mpiechotka

  • cc uzytkownik2@… added
  • summary changed from package downloads confuse IE6 to package downloads confuse IE6 and webkit-gtk browsers

It's worth to note that some webkit browsers (epiphany) alter slightly this behaviour and saves uncompressed file unser name foo-1.0.tar.gz.

Note: See TracTickets for help on using tickets.