Bugzilla – Attachment 90554 Details for
Bug 22585
Fix remaining double-escaped CAS links
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22585: remove double-escape for CAS URL
Bug-22585-remove-double-escape-for-CAS-URL.patch (text/plain), 1.60 KB, created by
Katrin Fischer
on 2019-06-13 06:10:57 UTC
(
hide
)
Description:
Bug 22585: remove double-escape for CAS URL
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-06-13 06:10:57 UTC
Size:
1.60 KB
patch
obsolete
>From 9d5c1d6a8c8cca59d02b3aed0df76bf87397bdad Mon Sep 17 00:00:00 2001 >From: Justin Rittenhouse <jrittenh@nd.edu> >Date: Fri, 31 May 2019 16:37:11 +0000 >Subject: [PATCH] Bug 22585: remove double-escape for CAS URL > >The return URL that is part of the link to CAS login is double-escaped on the staff login page. > >It appears that this is the same issue as bug 21973 but in the staff intranet template. I have attached an identical patch for the intranet auth.tt file. > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 22585
:
87036
|
90376
|
90456
| 90554 |
90555