Incorrect file extension (downloading as "download.php") in Safari

Server configuration

Operating system :

CentOS Linux release 7.9.2009 (Core)

Web server:

Server version: Apache/2.4.6 (CentOS)
Server built: Nov 16 2020 16:18:20

Database:

MySQL: 8.0.26

PHP version:

PHP 7.4.23 (cli) (built: Aug 24 2021 16:33:30) ( NTS )

ownCloud version: (see ownCloud admin page)

10.8.0 (stable)

Safari browser version:

15.5 (17613.2.7.1.8)

Hello. When downloading files or directories in downloads, the file name is always “download.php”. This problem occurs only in the Safari browser, in other browsers everything is fine. Please help to solve this problem, thanks in advance

Hi Elias,

I think there was some iOS issue, which was fixed in oc 10.9 (IIRC). Test the download behaviour on https://demo.owncloud.com - if the issue doesn’t appear there, you should upgrade your ownCloud.

If this issue is reproducible on the demo server as well I’d suggest to open an issue ticket at Issues · owncloud/core · GitHub