deployment announcement does not properly handle double quotes · Issue #277 · djoos-cookbooks/newrelic · GitHub
More Web Proxy on the site http://driver.im/
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
https://github.com/djoos-cookbooks/newrelic/blob/master/providers/deployment.rb#L78
This line of code does not do what it intends to do.
It looks like the intent of this is to escape double quotes in the deploy message, but
tr
doesn't work properly for this.puts %Q(").tr('"','\"') #=> "
it should probably be
string.gsub('"','\"')
The text was updated successfully, but these errors were encountered: