Downloads broken with latest browser versions

Hi,

I am using the latest pro version of s2Member. Since all browsers have updated to version 100, it has become impossible to download files that are protected by s2Member. By that I mean files in the “s2member-files” folders and where the access is controlled by the .htaccess file in that folder.

If I remove the .htaccess files, the files can be downloaded, but if I leave it in place, files get corrupted in the download and can’t be opened. I have only tried it with pdf files.

Does anyone know of a solution?

Thanks.

Pascal

You’ve probably already solved the problem but I’m writing in case someone faces the same problem in the future.
I had the same problem and after a lot of digging I found out that it was a server problem.
Two things you need to check:
S2member>Download Options> Yes (My web server is stuborn …)
AND
Please check your Apache and Nginx Settings of your server
I realized that if the “Serve static files directly by nginx” is checked in Plesk then anyone can download files without being a member.


Of course this may be different across web hosting companies, but it was true in my case.

2 Likes

Thanks for sharing that, Christos :slight_smile: