Skip to content

[stable33] fix(FilePreview): sanitize file name - #19236

Merged
nickvergessen merged 3 commits into
stable33from
backport/19228/stable33
Sep 3, 2026
Merged

[stable33] fix(FilePreview): sanitize file name#19236
nickvergessen merged 3 commits into
stable33from
backport/19228/stable33

Conversation

@Antreesy

@Antreesy Antreesy commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Manual backport of #19228

  • commit 9d02d15 skipped to create less conflicts
  • tested
image image

- bidi-control unicode characters are not visible in browser, but causing confusion with inline rendering under certain conditions
- for rendered DOM: align with Files app, render file extension in separate tag, isolate unicode-bidi
- for titles and aria-labels: replace with underscore (same as downloaded file name)

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
@Antreesy Antreesy added this to the 🍏 Next Patch (33) milestone Sep 2, 2026
@Antreesy Antreesy self-assigned this Sep 2, 2026
@Antreesy Antreesy added bug feature: frontend πŸ–ŒοΈ "Web UI" client feature: upload & shares & voice πŸ“€πŸŽ™οΈ Sharing files into a chat and audio recordings AI assisted This PR contains AI-assisted commits labels Sep 2, 2026
@Antreesy

Antreesy commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

/backport to stable32

@nickvergessen
nickvergessen merged commit 595aa41 into stable33 Sep 3, 2026
55 checks passed
@nickvergessen
nickvergessen deleted the backport/19228/stable33 branch September 3, 2026 06:19
@backportbot

backportbot Bot commented Sep 3, 2026

Copy link
Copy Markdown

The backport to stable32 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable32
git pull origin stable32

# Create the new backport branch
git checkout -b backport/19236/stable32

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 12d4606d fe7ace3b 6b75dfcf

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/19236/stable32

Error: Failed to clone repository: Failed to create working tree: error: RPC failed; HTTP 401 curl 22 The requested URL returned error: 401
fatal: expected flush after ref listing


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI assisted This PR contains AI-assisted commits backport-request bug feature: frontend πŸ–ŒοΈ "Web UI" client feature: upload & shares & voice πŸ“€πŸŽ™οΈ Sharing files into a chat and audio recordings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants