Bug 1398466

Summary: absolute links are wrong on sub directory installs
Product: [Community] Bugzilla Reporter: Jeff Fearn 🐞 <jfearn>
Component: ExtensionsAssignee: Jeff Fearn 🐞 <jfearn>
Extensions sub component: SAML2Auth QA Contact: tools-bugs <tools-bugs>
Status: CLOSED NEXTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: qgong
Version: 5.0   
Target Milestone: 5.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.0.3-rh18 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-01 23:43:47 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 Jeff Fearn 🐞 2016-11-24 23:49:04 UTC
Description of problem:
When you install bugzilla below '/', e.g. '/bugzilla/ the path to the saml cgi files is wrong.

Version-Release number of selected component (if applicable):
5.0

How reproducible:
Easy

Steps to Reproduce:
1. Set-up a bugzilla server with BZ not in, or aliased to /

Actual results:
SAML urls point to '/saml2_*.cgi

Expected results:
SAML urls point to '/$SUBDIR/saml2_*.cgi

Additional info:
We need to do this for beta.bugzilla due to the way domain cookies are handled, it will supply production cookies to beta.bugzilla if there is no path in the beta.bugzilla cookies.

Comment 1 Jeff Fearn 🐞 2016-11-25 07:46:48 UTC
Turns out there are a few other links doing this as well.

Comment 2 Rony Gong 🔥 2016-11-30 02:28:13 UTC
Tested on QA environment(5.0.3-rh18)
Result: Pass