telegramAPI icon indicating copy to clipboard operation
telegramAPI copied to clipboard

Get rid of obsolete URI::encode calls in favor of URI::encode_www_form

Open pippokairos opened this issue 4 years ago • 0 comments

When using Ruby >= 2.7.2, a

/app/vendor/bundle/ruby/2.7.0/gems/telegramAPI-1.4.2/lib/telegramAPI.rb:22: warning: URI.escape is obsolete

message gets triggered.

This should solve the issue.

Source: https://docs.knapsackpro.com/2020/uri-escape-is-obsolete-percent-encoding-your-query-string

pippokairos avatar Mar 10 '21 13:03 pippokairos