Closed iw0nderhow closed 7 months ago
@susnux
t('files', 'Move to {target}', { target }, undefined, { escape: false })
should do the trick? But this is direct user-input, I'm cautious :thinking:
If we pass it using v-text
vue will escape HTML anyways. Otherwise we would need to pass the current result to v-html
what I strongly recommend to NOT do.
⚠️ This issue respects the following points: ⚠️
Bug description
Folder names with apostrophes, etc. are shown with their escape sequences on the buttons in the move/copy dialog.
Steps to reproduce
Expected behavior
The names in the buttons don't have extraneous escaping.
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
The forum is broken right now, so I haven't searched it.