diff options
Diffstat (limited to 'src/plugins/fs/search.c')
-rw-r--r-- | src/plugins/fs/search.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/fs/search.c b/src/plugins/fs/search.c index b4697500..7c9fbcd2 100644 --- a/src/plugins/fs/search.c +++ b/src/plugins/fs/search.c | |||
@@ -99,6 +99,13 @@ void addEntryToSearchTree(GtkTreeStore * model, | |||
99 | -1); | 99 | -1); |
100 | if (name == NULL) | 100 | if (name == NULL) |
101 | name = STRDUP(_("no name given")); | 101 | name = STRDUP(_("no name given")); |
102 | else { | ||
103 | char dotdot; | ||
104 | |||
105 | while(dotdot = strstr(name, "..")) | ||
106 | dotdot[0] = dotdot[1] = '_'; | ||
107 | } | ||
108 | |||
102 | if (ECRS_isFileUri(uri)) { | 109 | if (ECRS_isFileUri(uri)) { |
103 | size = ECRS_fileSize(uri); | 110 | size = ECRS_fileSize(uri); |
104 | } else { | 111 | } else { |