[Bug]: open graph for internal link shows Name in both name and title
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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