nextcloud / nextcloud/spreed

In some cases backslashes "\" are being removed from chat messages

Open
#13,653 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: frontend 🖌️ upstream
Dominant language
PHP
Stars
2.2k
Forks
587
Avg merge
18h 27m
Merged PRs (30d)
333

Description

Steps to reproduce

  1. Send a message with following string \\some\network\share\_Documentation
  2. Message is shown \some\network\share_Documentation in the chat.
Expected behaviour

Message in chat will be displayed like the original. Especially mandatory for windows network shares in general like \\server\share\folder
and specifically for \\server\share\_folder.

Actual behaviour

Doubled backslashes are reduced to one and leading backslash of an underscore "_"is removed.

Image

Talk app

Talk app version: 20.0.1

Custom Signaling server configured: yes (2.0.0)

Custom TURN server configured: yes

Custom STUN server configured: yes

Browser

Microphone available: yes

Camera available: yes

Operating system: macOS Sequoia 15.0.1

Browser name: Brave

Browser version: [Version 1.71.118 Chromium: 130.0.6723.70 (Offizieller Build) (arm64)]

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 issue in the Talk app with the strings from the reproduction steps, including the Windows network-share examples. Trace where chat messages are processed and displayed to identify where backslashes are removed. Done means the original backslashes, including those before underscores, remain unchanged in the chat.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.