OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Allow sys api without host check
Oliver Günther572f2025303b
diff --git a/config/environments/production.rb b/config/environments/production.rbindex 049128f4656..88ae2d6a712 100644--- a/config/environments/production.rb+++ b/config/environments/production.rb@@ -185,7 +185,9 @@ Rails.application.configure do# Skip DNS rebinding protection for the default health check endpoint.config.host_authorization = {exclude: ->(request) do- request.path.start_with?("#{OpenProject::Configuration["rails_relative_url_root"]}/health_check")+ base = OpenProject::Configuration["rails_relative_url_root"]+ request.path.start_with?("#{base}/health_check") ||+ request.path.start_with?("#{base}/sys")end}end