diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-10-04 14:58:46 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-10-04 14:58:46 -0700 |
commit | 961e42b1600f5dbed53f8fdc8b35f1a77a422231 (patch) | |
tree | 2dacd18d34b75185cad0565ab93d243199512706 | |
parent | 6c64ec1cccd6b39da17bf422eb93681876981823 (diff) | |
download | kup-961e42b1600f5dbed53f8fdc8b35f1a77a422231.tar.gz |
Remove : from the forbidden set
It was just a mistake.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rwxr-xr-x | korgupload | 2 | ||||
-rwxr-xr-x | kup | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -200,7 +200,7 @@ sub is_valid_filename($) # Reject undesirable filename characters anywhere in the name. # This isn't inherently security-critical, and could be tuned if # users need it... - return 0 if ($f =~ m:[\!\"\$\&\'\*\:\;\<\>\?\\\`\|]:); + return 0 if ($f =~ m:[\!\"\$\&\'\*\;\<\>\?\\\`\|]:); # Make sure we can create a filename after adding .bz2 or similar. # We can't use the obvious regexp here, because regexps operate on @@ -96,7 +96,7 @@ sub is_valid_filename($) # Reject undesirable filename characters anywhere in the name. # This isn't inherently security-critical, and could be tuned if # users need it... - return 0 if ($f =~ m:[\!\"\$\&\'\*\:\;\<\>\?\\\`\|]:); + return 0 if ($f =~ m:[\!\"\$\&\'\*\;\<\>\?\\\`\|]:); # Make sure we can create a filename after adding .bz2 or similar. # We can't use the obvious regexp here, because regexps operate on |