[Bug]: Special characters (like apostrophes / quotes) in "Share label" render incorrectly in the Share link sidebar properties
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
In the Files module, special characters in the share link's "Share label", such as the straight single quote/apostrophe, will not render correctly in the sharing sidebar.
Note that I can only provide basic information here because I am not the server admin, just a user of the web interface.
Steps to reproduce
- In the Files module, select a folder's sharing properties
- Create a "Share link"
- In "Advanced settings" Set the "Share label" field to
Hal's general access:
Result:
Expected behavior
Special characters should be rendered correctly instead of encoded entities.
Nextcloud Server version
28 (or whatever is the latest release provided by the stable tag in docker hub)
Operating system
None
PHP engine version
None
Web server
Nginx
Database engine version
None
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
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
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
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
The issue points to the Files module's share-link sidebar and the Share label field; begin by reproducing the apostrophe case and tracing where that label is rendered. Done means special characters such as the apostrophe display as entered rather than as encoded entities.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100