-
Notifications
You must be signed in to change notification settings - Fork 36
wrong link (if text only) in publicly sharing collective (between collectives) #2378
Description
Describe the bug
Hello,
In collective, if I insert a link to an other collective, if I share my collective and open this collective in private mode (of my browser) using the skared link, then, the link to the other collective is either :
- ok if the link is set as "Show link preview" : it is possible to navigate between collectives
- wrong (needs to authenticate) if the link is set as "Text only".
For example if I open my collective in private mode using a public shared link :
the first link "Comment trouver un local" which is set as "Text only" will give me a private link so it's not possible to navigate between collectives :
but the the second link "Comment trouver un local" which is set as "Show link preview" will give me a public link so it's possible to navigate between collectives :
To Reproduce
Steps to reproduce the behavior:
- open collective A
- add a link to collective B set as "Show link preview"
- share collective A and get a public link
- open collective A in private mode using the public link
- clic on the link to collective B : it works
Then
- open collective A
- add a link to collective B set as "Text only"
- share collective A and get a public link
- open collective A in private mode using the public link
- clic on the link to collective B : it ask to authenticate, the link is wrong
Expected behavior
The link should be public in both mode "Show link preview" and "Texte only"
Server details:
- Collectives app version: 4.1.0
- Nextcloud version: 32.0.6
- PHP Version: [e.g. 8.3]
- Database: [e.g. MariaDB 10.6]
Client details:
- OS: NixOS
- Browser: Firefox
- Browser version: 148