pldubouilh / gossa

🎶 a fast and simple multimedia fileserver
MIT License
874 stars 73 forks source link

xlsx file mistaken for zip file in IE11 #70

Open oskar-fagerfjall opened 3 years ago

oskar-fagerfjall commented 3 years ago

Ran into an issue when trying out gossa in IE11. Yeah, I know, big surprise when using IE11, but it might be indicative of some underlying problem.

Symptom

I have a xlsx file on a gossa share. Using Edge (chromium version) I can download it just fine: gossa-chromiumedge

But if I use IE11 it changes the file extension and tries to download it as a zip file. gossa-ie11

At first I thought it was a HTTP Content-Type header issue, but since the extension actually changes there must be some JavaScript voodoo going on.

Environment

Server

Virtual hardware running on Hyper-V on 2012R2 OS is Ubuntu 20.04.1 Container runtime is docker (using docker-compose) read-only volume mounted on /share

docker-compose ps REPOSITORY TAG IMAGE ID CREATED SIZE
pldubouilh/gossa latest 49ef9983246c 7 weeks ago 12.1MB

Clients

Issue verified on:

pldubouilh commented 2 years ago

hey - thank you for the super detailed report ! and sorry for the super slow reply !

very confusing issue ! but indeed, I'm never out of surprised with IE11 :) I'll do some testing on windows for my next release, I'll try to have a look see if I can repro.

cheers :+1: