Actions
Bug #1463
closedIncorrect Redirect from Environments and Puppet Classes
Description
I am running foreman in a subdir, so the URL is https://hostname/foreman. Seems to work fine except for the "Import puppet classes and environments" button on the Environments and Puppet Classes pages. It looks like it should redirect back to itself (e.g. https://hostname/foreman/environments), but the redirect is losing the /foreman from the path (https://hostname/environments), and I get a 404 not found. Hitting back button makes it work.
From the log...
Processing EnvironmentsController#import_environments (for IP_ADDR at 2012-01-20 12:43:46) [GET]
Redirected to https://puppet.dom.com/environments
Completed in 8ms (DB: 0) | 302 Found [https://puppet.dom.com/foreman/environments/import_environments]
Actions