diff options
-rw-r--r-- | src/src/parse.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/src/parse.c b/src/src/parse.c index fa3395206..e70dabd58 100644 --- a/src/src/parse.c +++ b/src/src/parse.c @@ -1415,12 +1415,8 @@ for (;;) return FF_ERROR; } - if (is_tainted(filename)) - { - *error = string_sprintf("Tainted name '%s' for included file not permitted\n", - filename); + if (*error = is_tainted2(filename, 0, "Tainted name '%s' for included file not permitted\n", filename)) return FF_ERROR; - } /* Check file name if required */ |