Skip to content

wrong link (if text only) in publicly sharing collective (between collectives pages) #2378

Description

@Thatoo

Describe the bug
Hello,
In collective, if I insert a link to an other collective's page, 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's page is either :

  • ok if the link is set as "Show link preview" : it is possible to navigate between collectives pages
  • 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 :

Image

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 pages :

Image

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 pages :

Image

To Reproduce
Steps to reproduce the behavior:

  • open a collective and create page A
  • add a link to page 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 page B : it works

Then

  • open collective A
  • add a link to page 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 page B : it asks 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status
☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions