nextcloud / nextcloud/server

[Bug]: Special characters (like apostrophes / quotes) in "Share label" render incorrectly in the Share link sidebar properties

Open
#49,993 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 28-feedback bug feature: sharing hotspot: filename handling
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

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
  1. In the Files module, select a folder's sharing properties
  2. Create a "Share link"
  3. In "Advanced settings" Set the "Share label" field to Hal's general access:

Image

Result:

Image

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.