Signed-off-by: Jordan Curzon <[email protected]>
---
lib/puppet/network/http/handler.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/puppet/network/http/handler.rb
b/lib/puppet/network/http/handler.rb
index c6b809d..7a2408c 100644
--- a/lib/puppet/network/http/handler.rb
+++ b/lib/puppet/network/http/handler.rb
@@ -182,7 +182,7 @@ module Puppet::Network::HTTP::Handler
def decode_params(params)
params.inject({}) do |result, ary|
param, value = ary
- next result if param.blank?
+ next result if param.nil? || param.empty?
param = param.to_sym
--
1.6.3.3
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---