Skip to content

[Bug]: Activity in calendar shared by others renders invalid URL #41411

@ChristophWurst

Description

@ChristophWurst

⚠️ This issue respects the following points: ⚠️

Bug description

When someone shares a calendar with me the principal and URI changes. This affects deep links to events shown on the activity page.

The deep link of the format https://localhost/apps/calendar/dayGridMonth/now/edit/sidebar/[b64]/next links to usera/test. B is not allowed to directly access this endpoint.

Steps to reproduce

  1. Create a calendar "test" as user A
  2. Share the calendar with B
  3. Add an event as B
  4. Open the activity app as B

Expected behavior

The deep link of the format https://localhost/apps/calendar/dayGridMonth/now/edit/sidebar/[b64]/next links to userb/test_shared_by_a.

Installation method

None

Nextcloud Server version

28

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions