mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 12:32:55 +00:00
allow a '.' in the buildname, but restrict other metacharacters.
This commit is contained in:
parent
9a456b42d5
commit
75cc41877b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user