Skip to content

Using ~ in notes are prepended with \ when copied #1711

@theking2

Description

@theking2

Please make a clear and concise description of what the bug is.

Notes containing a ~ and copied are pasted as \~ with a prepended \

Steps to reproduce

1.create a note with a ~
2.copy the note
3.paste in a text editor

Expected behaviour

Note text is pasted as is

Actual behaviour

all ~ are prepended with a \

Server

Please complete the following information.

  • Nextcloud Server version:
    • Nextcloud 32.0.3
  • Operating system and version:
    • #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1~bookworm (2025-09-16)
  • Web server and version:
    • Server version: Apache/2.4.65 (Debian)
  • Reverse proxy and version:
    • nginx version: openresty/1.27.1.2
  • PHP version:
    • PHP 8.3.29 (cli) (built: Dec 29 2025 23:29:58) (NTS)
  • Is this the first time you've seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • prob direct after installation
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • OMV Container
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • nope

Nextcloud configuration:

Details ``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "version": "32.0.3.2", "loglevel": 2, "log_rotate_size": 262144, "maintenance": false, "maintenance_window_start": 3, "default_locale": "DE_CH", "default_phone_region": "CH", "datadirectory": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "password": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "upgrade.disable-web": true, "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "mysql.utf8mb4": true, "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "htaccess.RewriteBase": "\/", "trusted_domains": [ "srv-nas-pi.kingma:8080", "office.kingma.ch", "office.king.ma" ], "overwrite.cli.url": "https:\/\/office.kingma.ch", "overwriteprotocol": "https", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smpttimeout": 30, "installed": true, "mail_smtpauth": true, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "ssl", "app_install_overwrite": [] } } ```

Client

Please complete the following information.

  • Browser (incl. version): Firefox 14
  • OS: Fedora 43

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneed to reproduceIssue that has not been reproduced

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions