You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested replacing URI.escape with CGI.escape which works, but re-encodes spaces as + instead. Which isn't ideal, but at least fixes the underlying issue.
Alternatively, can remove the URI.escape entirely and the response will send fine with no re-encoded content. Not sure if URI.escape is needed or not for security or standardization reasons?
Following up with this, replacing URI.escape with ERB::Util.url_encode seems to fix the issue entirely. Will issue pull request on the chance this ever gets updated.
Due to the deprecation of
URI.escape
(see ruby/uri@61c6a47 and ruby/uri#14), this gem will no longer work in Ruby 3.x based Rails projects.Fix might be straightforward to replace with
CGI.escape
instead.Specific error from a project using growlyflash 0.10.1:
The text was updated successfully, but these errors were encountered: