Skip to content

Commit

Permalink
Fix code scanning alert no. 1127: Missing regular expression anchor
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 9b280e3 commit d102688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
config.hosts.push(*ENV["OPENPROJECT_DEV_EXTRA_HOSTS"].split(","))
end

config.hosts.push /\w+\.openproject-dev\.com/
config.hosts.push /\A\w+\.openproject-dev\.com\z/
end

ActiveRecord::Base.logger = ActiveSupport::Logger.new($stdout) unless String(ENV.fetch("SILENCE_SQL_LOGS", nil)).to_bool

0 comments on commit d102688

Please sign in to comment.