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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit a3e047f638)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d782843a71)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Justin Rittenhouse 2019-05-31 16:37:11 +00:00 committed by Lucas Gass
parent 1eb77d6475
commit de3abe6cd8
1 changed files with 2 additions and 2 deletions

View File

@ -95,14 +95,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 %]