There was an error while loading. Please reload this page.
1 parent 0e4eb44 commit 4c93e1aCopy full SHA for 4c93e1a
1 file changed
src/common/utils.js
@@ -1195,6 +1195,6 @@ export const isRedirectingToLoginViaReferrer = location => {
1195
const queryParams = new URLSearchParams(search)
1196
const referrer = queryParams.get('referrer')
1197
const parts = hash ? hash.split('?') : referrer?.split('?')
1198
- let params = new URLSearchParams(parts[1])
+ let params = params?.length > 0 ? new URLSearchParams(parts[1]) : {}
1199
return isOtherOCLClientURL(referrer) && params.get('auth') === 'true'
1200
}
0 commit comments