Changeset 2201 in MondoRescue


Ignore:
Timestamp:
May 13, 2009, 2:03:41 AM (15 years ago)
Author:
Bruno Cornec
Message:

Also escapes single quote and pipe

File:
1 edited

Legend:

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

    r2200 r2201  
    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        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.