When using SAML for SSO, hash fragment pointing to file underneath of a folder is dropped on redirect

Description

*Step to reproduce:
*
1. configure ACS 6.2.2 to use SAML and Share to use also the same authentication system

2. Open any site document library, then open a folder in this document library

3.Click on the folder to get the list of all document belonging to that folder

4. Copy from the browser URL generated

5.Open a new private window in the same browser and paste the URL

6.provide the credentials as required

7. check where the URL is being directed

*Expected behavior
*
to be redirected to the folder

localhost:9999/share/page/site/training/documentlibrary#filter=path|%2Ftestfolder|&page=1

*Actual results
*
Redirected to
localhost:9999/share/page/site/training/documentlibrary

Environment

ACS 6.2.2 , SAML, Share using SAML

Testcase ID

None

Activity

Show:
Scott Ashcraft
March 25, 2021, 12:36 PM

This is a duplicate of MNT-18772, which is closed as Won't Fix. There are other jiras around this when using AIMS. Investigation has found that this is expected behavior; iDPs are expected to drop hash fragments on redirect. See here and here. In the case of AIMS, since we can control the behavior, we were able to find a workaround, which goes against the standards. If the iDP you are using doesn't have the ability to configure this, then there is nothing that we can do from a product side to change this behavior.

Duplicate

Assignee

Scott Ashcraft

Reporter

Mohan Varadharajan

Labels

None

Escalated By

None

Security Issue

None

ACT Numbers

00373915

Premier Customer

Yes

Code Branch

None

Build Location

None

Regression Since

None

Work Funnel End

None

Patch Attached

None

Dependent Version/s

None

Cloud or Enterprise

None

Prioritization Score

None

Delivery Team

None

Bug Priority

Category 3

Components

Affects versions