lib/fluent/plugin/out_google_chat.rb in fluent-plugin-google-chat-0.0.2 vs lib/fluent/plugin/out_google_chat.rb in fluent-plugin-google-chat-0.0.3
- old
+ new
@@ -62,10 +62,10 @@
conf['localtime'] ||= true unless conf['utc']
super
if @space
- @space = URI.unescape(@space) # old version compatibility
+ @space = URI::Parser.new.unescape(@space)
else
raise Fluent::ConfigError.new("`space` is required")
end
if @keyfile