Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1320516

Summary: URL redirect loop while accessing invalid subpath for katello pages
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: WebUIAssignee: Walden Raines <walden>
WebUI sub component: Katello QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED DUPLICATE Docs Contact:
Severity: high    
Priority: unspecified CC: bbuckingham, rplevka
Version: 6.2.0Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-06 20:29:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Plevka 2016-03-23 12:02:19 UTC
Description of problem:
For all katello pages - on accessing invalid subpath (e.g. http://sat.server.com/activation_keys/foo) the URL redirect loop occurs finally resulting in ISE.

- after a brief investigation it looks like it's the bastion_katello.js library which is causing this.
-no errors in logs, only perfectly handled GET requests.


Version-Release number of selected component (if applicable):
6.1.8
6.2.0 Snap #4

How reproducible:
akways

Steps to Reproduce:
1. navigate to some katello page
2. add some invalid subpath, e.g. '/foo'
3. enojoy the perpetuum mobile

Actual results:
URL redirect loops happens overloading the server, resulting in ISE

Expected results:
HTTP/400 page as for Foreman pages

Additional info:

Comment 1 Roman Plevka 2016-03-23 12:14:56 UTC
> Expected results:
> HTTP/400 page as for Foreman pages

Correction: HTTP 404

Comment 3 Walden Raines 2016-04-05 18:41:05 UTC
Is this really a blocker?  The only way to get to one of these invalid paths is to manually type it in the address bar.

Comment 4 Roman Plevka 2016-04-06 18:25:59 UTC
I don't mind removing a blocker flag. What's more, this seems to be a duplicate of:
https://bugzilla.redhat.com/show_bug.cgi?id=1108783

Comment 5 Walden Raines 2016-04-06 20:29:09 UTC
Yes, I think it is a duplicate of bug #1108783.  I am going to close this as such and put bug #1108783 into 6.2.0.

*** This bug has been marked as a duplicate of bug 1108783 ***