Skip to content

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

Fix regex

Klaus Zandersaa04032acd1a
diff --git a/config/routes.rb b/config/routes.rb
index f60b41d009e..230749ce49f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -558,7 +558,7 @@ Rails.application.routes.draw do
get "/create_new" => "work_packages#index", on: :collection, as: "new_split"
get "/new" => "work_packages#index", on: :collection, as: "new", state: "new"
# We do not want to match the work package export routes
- get "(/*state)" => "work_packages#show", on: :member, as: "", constraints: { id: /\d+/, state: /(?!shares)/ }
+ get "(/*state)" => "work_packages#show", on: :member, as: "", constraints: { id: /\d+/, state: /(?!shares).+/ }
get "/share_upsale" => "work_packages#index", on: :collection, as: "share_upsale"
get "/edit" => "work_packages#show", on: :member, as: "edit"
end