Skip to content

Commit

Permalink
address deprecation of URI.escape in uri v0.10.1 (see: ruby/uri#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Hepting committed Dec 8, 2022
1 parent 6cc9061 commit d26dfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/contentful/management/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def initialize(client, endpoint, query = {}, id = nil, headers = {})

if id
@type = :single
@id = URI.escape(id)
@id = URI.encode_www_form_component(id)
else
@type = :multi
@id = nil
Expand Down

0 comments on commit d26dfa2

Please sign in to comment.