You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user opens a file (tested with markdown .md file, but possibly .odt as well) that's been shared with them, but which they don't have edit permissions for, and they left-click a hyperlink in that file, the link opens in both a new tab and the existing Nextcloud tab, simultaneously.
This does not occur if the user has 'edit' rights to the document. In this scenario, the link only opens in a new tab, as expected.
Steps to reproduce
Create a markdown file and put a hyperlink in it (e.g a link to this Github issue)
Share the file with another Nextcloud user, but don't give them edit rights to the file
Left-click the link in the file as that other Nextcloud user - link opens in 2 tabs (one new tab, and the existing Nextcloud tab)
Grant that Nextcloud user 'edit' rights to the file
Open the file in Nextcloud again as that user and left-click the same link - link opens in just one new tab
Expected behavior
The link should only open in a new tab, regardless of edit or no-edit permission for that user
Installation method
Community Docker image
Nextcloud Server version
25
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
(thanks for transferring the issue to the right repository, my apologies). Now that it's in the 'text' repo, I searched the issue queue here and I found that #579 (comment) is exactly the same issue/symptom described.
The only problem is, it's claimed to have been fixed there, around Oct 2022... but it's definitely a problem in the latest Nextcloud 25.0.8, so, perhaps it's a regression?
The only problem is, it's claimed to have been fixed there, around Oct 2022... but it's definitely a problem in the latest Nextcloud 25.0.8, so, perhaps it's a regression?
#3290 (the fix for #579) was only released for >=v26 from the looks of it.
Bug description
When a user opens a file (tested with markdown .md file, but possibly .odt as well) that's been shared with them, but which they don't have edit permissions for, and they left-click a hyperlink in that file, the link opens in both a new tab and the existing Nextcloud tab, simultaneously.
This does not occur if the user has 'edit' rights to the document. In this scenario, the link only opens in a new tab, as expected.
Steps to reproduce
Expected behavior
The link should only open in a new tab, regardless of edit or no-edit permission for that user
Installation method
Community Docker image
Nextcloud Server version
25
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: