Steps to reproduce
- Upload a photo to nextcloud
- Share the photo via a link
- Choose the option to hide the download button in the share options
Expected behaviour
The download button is hidden when opening the link.
Actual behaviour
The download button is shown and works.
Server configuration
**Operating system: Unknown - Hosted Environment
**Web server: Unknown - Hosted Environment
**Database: MariaDB 10.4
**PHP version: PHP 8-0-FCGI
Nextcloud version: 22.2.0
**Updated from an older Nextcloud/ownCloud or fresh install: Updated from 20.something
**Where did you install Nextcloud from: Manual download from https://nextcloud.com/install/
Signing status:
Signing status
No errors have been found.
List of activated apps:

Nextcloud configuration:
Config report
'',
'passwordsalt' => '',
'trusted_domains' =>
array (
0 => '.de',
1 => '',
),
'datadirectory' => '/xyz_data/data',
'dbtype' => 'mysql',
'version' => '22.2.0.2',
'dbname' => '',
'dbhost' => '',
'dbtableprefix' => 'oc_',
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'forcessl' => true,
'mail_from_address' => 'cloud',
'mail_smtpmode' => 'sendmail',
'mail_domain' => '',
'loglevel' => 2,
'log_rotate_size' => 536870912,
'theme' => '',
'maintenance' => false,
'secret' => '',
'forceSSLforSubdomains' => true,
'trashbin_retention_obligation' => 'auto',
'overwrite.cli.url' => '',
'updater.release.channel' => 'stable',
'mail_sendmailmode' => 'smtp',
'app_install_overwrite' =>
array (
0 => 'jsloader',
1 => 'occweb',
),
'mysql.utf8mb4' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'updater.secret' => '',
'hashingMemoryCost' => 2048,
'hashingTimeCost' => 2,
'hashingThreads' => 1,
'mail_smtpsecure' => 'ssl',
'mail_smtpport' => '465',
'default_phone_region' => 'DE',
);
Are you using encryption: no
Client configuration
Browser: Edge 95.0.1020.20
Operating system: Windows 10
Steps to reproduce
Expected behaviour
The download button is hidden when opening the link.
Actual behaviour
The download button is shown and works.
Server configuration
**Operating system: Unknown - Hosted Environment
**Web server: Unknown - Hosted Environment
**Database: MariaDB 10.4
**PHP version: PHP 8-0-FCGI
Nextcloud version: 22.2.0
**Updated from an older Nextcloud/ownCloud or fresh install: Updated from 20.something
**Where did you install Nextcloud from: Manual download from https://nextcloud.com/install/
Signing status:
Signing status
No errors have been found.List of activated apps:

Nextcloud configuration:
Config report
'', 'passwordsalt' => '', 'trusted_domains' => array ( 0 => '.de', 1 => '', ), 'datadirectory' => '/xyz_data/data', 'dbtype' => 'mysql', 'version' => '22.2.0.2', 'dbname' => '', 'dbhost' => '', 'dbtableprefix' => 'oc_', 'dbuser' => '', 'dbpassword' => '', 'installed' => true, 'forcessl' => true, 'mail_from_address' => 'cloud', 'mail_smtpmode' => 'sendmail', 'mail_domain' => '', 'loglevel' => 2, 'log_rotate_size' => 536870912, 'theme' => '', 'maintenance' => false, 'secret' => '', 'forceSSLforSubdomains' => true, 'trashbin_retention_obligation' => 'auto', 'overwrite.cli.url' => '', 'updater.release.channel' => 'stable', 'mail_sendmailmode' => 'smtp', 'app_install_overwrite' => array ( 0 => 'jsloader', 1 => 'occweb', ), 'mysql.utf8mb4' => true, 'memcache.local' => '\\OC\\Memcache\\APCu', 'updater.secret' => '', 'hashingMemoryCost' => 2048, 'hashingTimeCost' => 2, 'hashingThreads' => 1, 'mail_smtpsecure' => 'ssl', 'mail_smtpport' => '465', 'default_phone_region' => 'DE', );Are you using encryption: no
Client configuration
Browser: Edge 95.0.1020.20
Operating system: Windows 10