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:

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 ***