Allow equal sign in extra params

This commit is contained in:
Wedge 2019-07-10 19:46:56 +03:00
parent 5437a0b095
commit 8b5c390f58
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ class BuildList < ActiveRecord::Base
params = extra_params.slice(*BuildList::EXTRA_PARAMS)
params.update(params) do |k,v|
v.strip.gsub(I18n.t("activerecord.attributes.build_list.extra_params.#{k}"), '').
gsub(/[^\w\s\-["]]/, '')
gsub(/[^\w\s\-["]=]/, '')
end
self.extra_params = params.select{ |k,v| v.present? }
end