Bugzilla – Attachment 92665 Details for
Bug 18506
SSO - Shibboleth Only Mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18506: (follow-up) Set redirect type to 303
Bug-18506-follow-up-Set-redirect-type-to-303.patch (text/plain), 972 bytes, created by
Martin Renvoize (ashimema)
on 2019-09-09 11:35:09 UTC
(
hide
)
Description:
Bug 18506: (follow-up) Set redirect type to 303
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-09-09 11:35:09 UTC
Size:
972 bytes
patch
obsolete
>From 1c91070d8b95bda6cf0e3e6e7113acbf1a16dfd0 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 9 Sep 2019 12:32:46 +0100 >Subject: [PATCH] Bug 18506: (follow-up) Set redirect type to 303 > >This should ensure query parameters are passed through the redirection. >--- > C4/Auth.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 2e2eaaeee9..adf4cc9ea9 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -1340,7 +1340,7 @@ sub checkauth { > #If shibOnly is enabled just go ahead and redirect directly > if ( (($type eq 'opac') && C4::Context->preference('opacShibOnly')) || (($type ne 'opac') && C4::Context->preference('staffShibOnly')) ) { > my $redirect_url = login_shib_url( $query ); >- print $query->redirect($redirect_url); >+ print $query->redirect( -uri => "$redirect_url", -status => 303 ); > safe_exit; > } > >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18506
:
62810
|
79050
|
79522
|
79524
|
79540
|
89423
|
89424
|
91011
|
91012
|
91013
|
92665
|
92680
|
92681
|
92682
|
92683
|
116250
|
116251
|
116253
|
116280
|
116281
|
116282
|
116290
|
116536
|
116537
|
116538
|
116540