Description of problem:
When mounted somewhere other than "/", the login UI prepends the context path
twice, causing links to point to invalid locations.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Mount CCM at "/ccm"
2. Set context path to "/ccm", and servlet path to "" in enterprise.init
3. Load "<hostname>/ccm/" in a browser. The site should redirect to /ccm/register.
4. Click on any link on the page.
The selected link will be to "/ccm/ccm/wherever"
The link should point to "/ccm/wherever"
bebop.Link prepends the DispatcherPath to any absolute location
(bebop/Link.java:251). The admin UI creates links with absolute paths to the
site root, not the context root, by calling Initializer.getFullURL(), which
(kernel/security/Initializer.java:303,313) Replacing getRootURL(req) in
getFullURL() (kernel/security/Initializer.java:303) with "/" seems to solve the
Apparently bugzilla doesn't have double-click protection.
*** This bug has been marked as a duplicate of 84710 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.