lib/submodules/ably-ruby/lib/ably/rest/channel.rb in ably-rest-1.0.0 vs lib/submodules/ably-ruby/lib/ably/rest/channel.rb in ably-rest-1.0.5
- old
+ new
@@ -128,10 +128,10 @@
@options = channel_options.clone.freeze
end
private
def base_path
- "/channels/#{Addressable::URI.encode(name)}"
+ "/channels/#{URI.encode_www_form_component(name)}"
end
def decode_message(message)
message.decode client.encoders, options
rescue Ably::Exceptions::CipherError, Ably::Exceptions::EncoderError => e