nextcloud / nextcloud/server

[Bug]: open graph for internal link shows Name in both name and title

Open
#53,320 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 31-feedback bug feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

Sharing an internal link somewhere where open graph is supported results in the name duplication and lack of clarity

Steps to reproduce

1.Have a name (settings → theming → name)
2. Make an internal link for some file or folder
3. Post it somewhere

Expected behavior

My Cool Name
Confidential Internal Share → let us actually customize this part
Slogan goes here

Actual behavior

My Cool Name
My Cool Name
Slogan goes here

Nextcloud Server version

31

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

PostgreSQL

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

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report
I don't think this is relevant
List of activated Apps
I don't think this is relevant
Nextcloud Signing status
I don't think this is relevant
Nextcloud Logs
I don't think this is relevant
Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the internal-link Open Graph output on Nextcloud Server 31 with a configured theming name, then trace the code path that generates the shared file or folder metadata. Done means the preview no longer repeats the instance name and instead shows distinct name and title text, including the expected internal-share label.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.