Changeset 2203 in MondoRescue


Ignore:
Timestamp:
May 13, 2009, 12:06:12 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Also escape ! # ~ and try to really escape '
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-filelist.c

    r2202 r2203  
    483483        }
    484484        log_msg(8, "Analyzing %s", file_to_analyze);
    485         tmp = mr_stresc(file_to_analyze, "`$\\\"()\'|", '\\');
     485        tmp = mr_stresc(file_to_analyze, "`$\\\"()'|!#~", '\\');
    486486        (void)asprintf(&strtmp, syscall_sprintf, tmp);
    487487        paranoid_free(tmp);
     
    13781378    time_t this_time;
    13791379
    1380     dir = mr_stresc(dir1, "`$\\\"()\'|", '\\');
     1380    dir = mr_stresc(dir1, "`$\\\"()'|!#~", '\\');
    13811381    p = strrchr(dir, '/');
    13821382    if (p) {
Note: See TracChangeset for help on using the changeset viewer.