allow a '.' in the buildname, but restrict other metacharacters.

This commit is contained in:
kestes%walrus.com 2002-05-02 01:46:53 +00:00
parent 9a456b42d5
commit 75cc41877b

View File

@ -12,8 +12,8 @@
# server. No locks are used by the mail processes, data is passed to
# the tinderbox server in a maildir like format.
# $Revision: 1.23 $
# $Date: 2002/05/02 01:43:22 $
# $Revision: 1.24 $
# $Date: 2002/05/02 01:46:53 $
# $Author: kestes%walrus.com $
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/bin/processmail_builds,v $
# $Name: $
@ -445,7 +445,7 @@ sub backward_compatibility {
# keep funky characters out of the buildname. We use ',' as a
# separator so that must not appear.
$TINDERBOX{'buildname'} =~ s/[.,;:'"\+]+/_/g;
$TINDERBOX{'buildname'} =~ s/[,;:!|\$\*\&\%\^\@\`\'\"\+]+/_/g;
$TINDERBOX{'buildname'} =~ s/__+/_/g;
return 1;