Actions
Bug #18190
opensaving a host called "news.example.com" fails
Status:
New
Priority:
Normal
Assignee:
-
Category:
Host creation
Target version:
-
Description
Foreman-Version: 1.13.3, Debian Jessie 8.7, Installed via foreman-installer
I have a host called "news.example.com" when i click "Edit", it opens as usual "https://foreman.example.com/hosts/news.example.com/edit".
Clicking save renders an error: (from the logs)
2017-01-21T23:29:08 4ec4b48a [app] [F]
ActionController::RoutingError (No route matches [PATCH] "/hostss.example.com/edit"): |
lib/middleware/tagged_logging.rb:18:in `call' |
it seems, that there happens a string replace for "/new" (because of /hosts(..)s.example.com)
if you need any more Information, i am glad to help!
Updated by Dominic Cleal almost 8 years ago
- Related to Bug #11761: Cloning of hostgroup redirects to host creation added
Updated by Dominic Cleal almost 8 years ago
- Category set to Host creation
#11761 appears to have relaxed the regexp in submit_with_all_params(), it no longer has an end anchor.
Actions