Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(files): Do not escape file names in the file picker #44407

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Mar 22, 2024

Summary

HTML is already escaped by Vue, escaping it here by the l10n library will result in invalid file names shown.

Checklist

The text is already escaped by Vue, so we should not escape or sanitize the filename.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux requested a review from a team March 22, 2024 13:24
@susnux susnux requested a review from skjnldsv as a code owner March 22, 2024 13:24
@susnux susnux requested review from Pytal, szaimen and emoral435 and removed request for a team March 22, 2024 13:24
@susnux susnux added this to the Nextcloud 29 milestone Mar 22, 2024
@susnux
Copy link
Contributor Author

susnux commented Mar 22, 2024

/backport to stable28

@susnux susnux self-assigned this Mar 22, 2024
@Pytal Pytal merged commit f3f73ba into master Mar 22, 2024
104 checks passed
@Pytal Pytal deleted the fix/files-copy-move-escaping branch March 22, 2024 16:10
@Altahrim Altahrim mentioned this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Extraneous escaping on file move dialog buttons
3 participants