refinery/refinerycms

URI.unescape is obsolete

RandieM opened this issue · 6 comments

Hey there,

I am hoping to upgrade my RefineryCMS app to Ruby 2.7.3, but I get this warning message:
.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/bundler/gems/refinerycms-1b73e0b5e1ce/pages/app/presenters/refinery/pages/menu_presenter.rb:92: warning: URI.unescape is obsolete

Would it be possible to change this obsolete method to something else, e.g. CGI.unescape ? I am happy to submit a PR, if this helps.

Thanks.

Good idea.

Hi @anitagraham,

Thanks for your answer.

What exactly does "good idea" refer to? Changing the obsolete method or submitting the PR? Or may be both?

We'd love a PR for this please @RandieM 😄

Here is the relevant PR: #3503

Resolved by #3503 thank you!