fix(gui): properly escape filenames in fancytree

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2026-06-02 16:54:21 +02:00
parent 9cdff04877
commit f93306c819

View File

@@ -2997,6 +2997,9 @@ angular.module('syncthing.core')
$scope.restoreVersions.tree = $("#restoreTree").fancytree({
extensions: ["table", "filter", "glyph"],
quicksearch: true,
// Node titles are remote-controlled file/path
// components; render them as text, not HTML.
escapeTitles: true,
filter: {
hideExpanders: true,
mode: "hide"