whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject [whimsy] branch master updated: Check for clean resources.
Date Thu, 08 Jun 2017 10:28:54 GMT
This is an automated email from the ASF dual-hosted git repository.

johndament pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 61bf3db  Check for clean resources.
61bf3db is described below

commit 61bf3db86b73122d9e014e98f9624db05104b925
Author: John D. Ament <johndament@apache.org>
AuthorDate: Thu Jun 8 06:28:49 2017 -0400

    Check for clean resources.
---
 lib/whimsy/asf/podlings.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/whimsy/asf/podlings.rb b/lib/whimsy/asf/podlings.rb
index 408d3e2..1a3aae2 100644
--- a/lib/whimsy/asf/podlings.rb
+++ b/lib/whimsy/asf/podlings.rb
@@ -209,6 +209,7 @@ module ASF
     end
 
     def podlingStatus
+      @resource.untaint if @resource =~ /\A\w+\Z/
       incubator_content = ASF::SVN['asf/incubator/public/trunk/content']
       resource_yml = "#{incubator_content}/podlings/#{@resource}.yml"
       if File.exist?(resource_yml)

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message