From: Mike Rylander Date: Thu, 21 Jan 2021 16:20:44 +0000 (-0500) Subject: LP#1687545: Use ampersand instead of semicolon in generated URLs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fmiker%2Flp-1687545-amp-in-urls;p=working%2FEvergreen.git LP#1687545: Use ampersand instead of semicolon in generated URLs Since we have a local version of the CGI TT plugin, and that's what is used in the mkurl() TT macro, we can tell it to use ampersands instead of semicolons when building OPAC links. This commit imports CGI with the -oldstyle_urls flag, which does exactly that. Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb/CGI_utf8.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb/CGI_utf8.pm index 0239e1b9d8..2e51936c00 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb/CGI_utf8.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb/CGI_utf8.pm @@ -13,7 +13,7 @@ package OpenILS::WWW::EGWeb::CGI_utf8; use strict; use warnings; use base 'Template::Plugin'; -use CGI qw(:all -utf8); +use CGI qw(:all -utf8 -oldstyle_urls); sub new { my $class = shift;