From 8b5c390f58e06aeb393f38febe7c6686f224e2e6 Mon Sep 17 00:00:00 2001 From: Wedge Date: Wed, 10 Jul 2019 19:46:56 +0300 Subject: [PATCH] Allow equal sign in extra params --- app/models/build_list.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/build_list.rb b/app/models/build_list.rb index d6c610910..263c16fa9 100644 --- a/app/models/build_list.rb +++ b/app/models/build_list.rb @@ -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