This is an automated email from the ASF dual-hosted git repository.
sebb 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 0cd0b12 Some versions of Ruby complain about these variables
0cd0b12 is described below
commit 0cd0b12061ac2febc5314043b929081c3370ae16
Author: Sebb <[email protected]>
AuthorDate: Sun Jan 12 20:51:05 2020 +0000
Some versions of Ruby complain about these variables
---
lib/whimsy/asf/mlist.rb | 2 +-
lib/whimsy/asf/podling.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/whimsy/asf/mlist.rb b/lib/whimsy/asf/mlist.rb
index cdc6df4..f420e6c 100644
--- a/lib/whimsy/asf/mlist.rb
+++ b/lib/whimsy/asf/mlist.rb
@@ -385,7 +385,7 @@ module ASF
ARCH_MBOX_PUB, ARCH_MBOX_PRV, ARCH_MBOX_RST,
ARCH_EXT_MAIL_ARCHIVE]
# TODO alias archivers: either add list or use RE to filter them
- LIST_BASE = ASF::Config[:subscriptions] # allow overrides for testing etc
+ LIST_BASE = ASF::Config[:subscriptions].untaint # allow overrides for
testing etc
LIST_MODS = File.join(LIST_BASE, 'list-mods')
diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index 41829de..e5b945c 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -148,7 +148,7 @@ module ASF
podlings_xml = File.join(incubator_content, 'podlings.xml')
# see if there is a later version
- cache = ASF::Config.get(:cache)
+ cache = ASF::Config.get(:cache).untaint
if File.exist? File.join(cache, 'podlings.xml')
if File.mtime(File.join(cache, 'podlings.xml')) >
File.mtime(podlings_xml)
podlings_xml = File.join(cache, 'podlings.xml')