Actions
Bug #24194
closedCan't edit http proxy with name containing a dot
Description
Description
Editing a http proxy with a dot in the name (not URL) results in a "The page you were looking for doesn't exist."
How reproducible:
Every time
- Go to https://katello.example.com/http_proxies
- Make a new HTTP proxy
- Name it with a fqdn in the Name field (example: proxy.example.com)
- Fill out URL and press Submit
- Click on proxy.example.com
Actual results:
The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved. If you are the application owner check the logs for more information.
Expected results:
Should be able to edit the proxy
Additional info:
production.log shows:
2018-07-09T08:15:56 4294c2b5 [app] [I] Started GET "/http_proxies/proxy.example.com/edit" for 192.168.0.100 at 2018-07-09 08:15:56 +0200 2018-07-09T08:15:56 4294c2b5 [app] [F] 2018-07-09T08:15:56 4294c2b5 [app] [F] ActionController::RoutingError (No route matches [GET] "/http_proxies/proxy.example.com/edit"): 2018-07-09T08:15:56 4294c2b5 [app] [F] 2018-07-09T08:15:56 4294c2b5 [app] [F] lib/middleware/tagged_logging.rb:18:in `call' | katello (3.6.0) lib/katello/prevent_json_parsing.rb:12:in `call'
Actions