diff options
author | Dan Bode <bodepd@gmail.com> | 2010-09-02 02:25:38 -0400 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2010-09-23 09:17:27 +1000 |
commit | 7b8cb741596c7a20a25caf4250d86d7e1c24f319 (patch) | |
tree | 1d68a750b25ca82e92c9f08ec801528aa0809664 /lib | |
parent | 6f229eea198d85fd1b37ccaaa3e8257c592707e7 (diff) | |
download | puppet-7b8cb741596c7a20a25caf4250d86d7e1c24f319.tar.gz puppet-7b8cb741596c7a20a25caf4250d86d7e1c24f319.tar.xz puppet-7b8cb741596c7a20a25caf4250d86d7e1c24f319.zip |
Fix for #4708 - tagmail should allow . in tagname
changed the regex so that tagmail allows . in tagname.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/reports/tagmail.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/reports/tagmail.rb b/lib/puppet/reports/tagmail.rb index 71bafb2da..e17143e2f 100644 --- a/lib/puppet/reports/tagmail.rb +++ b/lib/puppet/reports/tagmail.rb @@ -84,7 +84,7 @@ Puppet::Reports.register_report(:tagmail) do pos = [] neg = [] taglist.sub(/\s+$/,'').split(/\s*,\s*/).each do |tag| - unless tag =~ /^!?[-\w]+$/ + unless tag =~ /^!?[-\w\.]+$/ raise ArgumentError, "Invalid tag #{tag.inspect}" end case tag |