From: cristy Date: Sun, 8 Jun 2014 11:21:20 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3e632caa8feba47bdf161a7f603430f4b60df51;p=imagemagick --- diff --git a/MagickCore/delegate.c b/MagickCore/delegate.c index 0ab82eb99..25c5348d9 100644 --- a/MagickCore/delegate.c +++ b/MagickCore/delegate.c @@ -907,7 +907,7 @@ static char *SanitizeDelegateCommand(const char *command) static char whitelist[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_- " - ".@&;<>|/\\\'\":%="; + ".@&;<>|/\\\'\":%=~"; sanitize_command=AcquireString(command); p=sanitize_command; diff --git a/MagickCore/utility.c b/MagickCore/utility.c index d51940e9d..a8b280763 100644 --- a/MagickCore/utility.c +++ b/MagickCore/utility.c @@ -1932,7 +1932,7 @@ static char *SanitizeSystemCommand(const char *command) static char whitelist[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_- " - ".@&;<>|/\\\'\":%="; + ".@&;<>|/\\\'\":%=~"; sanitize_command=AcquireString(command); p=sanitize_command;