From e8f7ca6abc72024f29694ca8012a721d9cf840a7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 22 May 2026 15:44:34 +0200 Subject: [PATCH] Fix: parsing ambiguity in cib_ops_path format handling The CibController#ops action expects the :id parameter in the form ,. When Rails appends .json to the URL, resource or node names containing dots become ambiguous and require special route constraints. The CibController#ops function expects and :id in the form , but there comes a concatenation of 3 values ,. Commit 32c14714 enables correct parsing 3 values, but it breaks the parsing in other controllers, when there is no given. One could possibly distinguish the regular expressions for each of the cases, but let's better not glue too many values together, and just move the :format out, as a separate argument. --- hawk/app/views/nodes/events.html.erb | 2 +- hawk/app/views/resources/events.html.erb | 2 +- hawk/config/routes.rb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hawk/app/views/nodes/events.html.erb b/hawk/app/views/nodes/events.html.erb index 83f31c52c..e7a647584 100644 --- a/hawk/app/views/nodes/events.html.erb +++ b/hawk/app/views/nodes/events.html.erb @@ -13,7 +13,7 @@