Project

General

Profile

Bug #187 ยป 882601.diff

Patch to foreman.rb query library - Fix spaces in fact values - Dis Connect, 03/23/2010 01:50 PM

View differences:

extras/query/foreman.rb
self.each do |type,name|
case type.to_s
when "fact"
name.each { |k,v| fact << "fact[]=#{k}-#{v}" }
name.each { |k,v| fact << "fact[]=#{k}-#{URI.escape(v)}" }
when "class"
name.each { |c| klass << "class[]=#{c}" }
    (1-1/1)