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")

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit cade3103ec)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2018-12-07 10:26:02 -03:00 committed by Martin Renvoize
parent 1fdc679955
commit 059d3ccf39
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 2 additions and 2 deletions

View File

@ -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 ) %]