Bugzilla – Attachment 90235 Details for
Bug 23026
Staff client CAS URL escaped twice, preventing login
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23026: Do not double encode CAS url
Bug-23026-Do-not-double-encode-CAS-url.patch (text/plain), 1.45 KB, created by
Nick Clemens (kidclamp)
on 2019-05-31 16:38:01 UTC
(
hide
)
Description:
Bug 23026: Do not double encode CAS url
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-05-31 16:38:01 UTC
Size:
1.45 KB
patch
obsolete
>From a91ce324a5ca37118564bb6339bf3f7f534a732c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 31 May 2019 16:37:11 +0000 >Subject: [PATCH] Bug 23026: Do not double encode CAS url > >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/intranet-tmpl/prog/en/modules/auth.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >index 7533b0cb8b..b46a5425f5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >@@ -96,14 +96,14 @@ > [% END %] > > [% IF ( casServerUrl ) %] >- <p><a href="[% casServerUrl | url %]">If you have a CAS account, please click here to login</a>.<p> >+ <p><a href="[% casServerUrl | $raw %]">If you have a CAS account, please click here to login</a>.<p> > [% END %] > > [% IF ( casServersLoop ) %] > <p>If you have a CAS account, please choose against which one you would like to authenticate:</p> > <ul> > [% FOREACH casServer IN casServersLoop %] >- <li><a href="[% casServer.value | url %]">[% casServer.name | html %]</a></li> >+ <li><a href="[% casServer.value | $raw %]">[% casServer.name | html %]</a></li> > [% END %] > [% END %] > [% END %] >-- >2.11.0
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 23026
: 90235