Public Link opens documents in viewer while private link opens the containing folder

Steps to reproduce

1a. in MacOs, Windows, iOS clients, click “Copy Private Link to Clipboard” from the right-click context menu for a pdf in user’s OwnCloud data.
2a. Open the link in a webbrowser
3a. The page will navigate to the containing folder rather than open the pdf viewer

1b. in MacOs, Windows, iOS clients, click “Copy Public Link to Clipboard” from the right-click context menu for a pdf in user’s OwnCloud data.
2b. Open the link in a webbrowser
3b. The page will correctly open the pdf in the web-browser pdf viewer

Expected behaviour

Clicking the “Private” link to a pdf should open the document in the pdf viewer. Doing so with a “Public Link” works in exactly the correct manner.

Actual behaviour

Clicking the “Private” link to a pdf opens the web browser and navigates to the folder containing that document in the Owncloud web application.

Server configuration

Debian 10.10

Web server:
Apache

Database:
PostGreSQL

PHP version:
PHP 7.3.29-1~deb10u1

ownCloud version: (see ownCloud admin page)
version 10.7.0.4

Updated from an older ownCloud or fresh install:
fresh install

Where did you install ownCloud from:
aptitude

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.