From: Jason Boyer Date: Thu, 21 Jan 2021 16:08:36 +0000 (-0500) Subject: LP1687545: Force TT CGI plugin to use ampersands in query strings X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4cc9ddcea53c5027dcbe29f80569f9dc70dc762d;p=evergreen%2Fequinox.git LP1687545: Force TT CGI plugin to use ampersands in query strings Change our already-forked version of TemplateToolkit::Plugin::CGI to use "old" style urls which became the new / only style after CGI.pm was deprecated. This causes the query_strings property to consistently use ampersands to separate query parameters. Signed-off-by: Jason Boyer Signed-off-by: Mike Rylander Signed-off-by: Chris Sharp --- 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;