Bugzilla – Attachment 83022 Details for
Bug 21973
CAS URL escaped twice, preventing login
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21973: Do not url escape casServerUrl
Bug-21973-Do-not-url-escape-casServerUrl.patch (text/plain), 1.83 KB, created by
Owen Leonard
on 2018-12-10 18:02:25 UTC
(
hide
)
Description:
Bug 21973: Do not url escape casServerUrl
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-12-10 18:02:25 UTC
Size:
1.83 KB
patch
obsolete
>From 3345a37372a28427e96995cdf907f92015ae47c7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 7 Dec 2018 10:26:02 -0300 >Subject: [PATCH] Bug 21973: Do not url escape casServerUrl > >It is already escaped correctly in >C4::Auth_with_cas::_url_with_get_params using URI::Escape::uri_escape > >Note that shibbolethLoginUrl is not and must be url escaped in template >("be consistent, they said") >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >index 71edf3c..d8aeabe 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >@@ -97,7 +97,7 @@ > [% IF ( casAuthentication ) %] > [% IF ( shibbolethAuthentication ) %] > [% IF ( casServerUrl ) %] >- <p><a href="[% casServerUrl | url %]">Please click here to log in.</a><p> >+ <p><a href="[% casServerUrl | $raw %]">Please click here to log in.</a><p> > [% END %] > > [% IF ( casServersLoop ) %] >@@ -117,7 +117,7 @@ > [% END %] > > [% IF ( casServerUrl ) %] >- <p><a href="[% casServerUrl | url %]">If you have a CAS account, please click here to log in.</a><p> >+ <p><a href="[% casServerUrl | $raw %]">If you have a CAS account, please click here to log in.</a><p> > [% END %] > > [% IF ( casServersLoop ) %] >-- >2.1.4
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 21973
:
82978
|
83022
|
83169
|
83178