+++ /dev/null
-package OpenILS::WWW::CGIUTF8;
-use strict;
-use warnings;
-use base qw(CGI);
-use Encode;
-
-sub param {
- my ($self, $k) = @_;
-
- return map { Encode::decode_utf8($_) } CGI::param($k) if wantarray;
- return Encode::decode_utf8(CGI::param($k));
-}
-
-sub param_bin {
- my $self = shift;
-
- return CGI::param(@_);
-}
-
-1;
use OpenILS::Utils::CStoreEditor qw/:funcs/;
use OpenILS::Utils::Fieldmapper;
use DateTime::Format::ISO8601;
-use OpenILS::WWW::CGIUTF8;
+use CGI qw(-utf8);
# EGCatLoader sub-modules
use OpenILS::WWW::EGCatLoader::Util;
$self->apache($apache);
$self->ctx($ctx);
- $self->cgi(new OpenILS::WWW::CGIUTF8);
+ $self->cgi(new CGI);
+
+ my $msg1 = "LFW XXX: param('query') is " . $self->cgi->param('query');
+ $logger->info("LFW XXX: msg1 is " . $msg1);
+ $logger->info("LFW XXX: query_string is " . $self->cgi->query_string());
OpenILS::Utils::CStoreEditor->init; # just in case
$self->editor(new_editor());
+++ /dev/null
-package OpenILS::WWW::EGWeb::CGIUTF8;
-
-# This is just a wrapper for TT around the real package,
-# which is OpenILS::WWW::CGIUTF8
-
-use strict;
-use warnings;
-use base 'Template::Plugin';
-use OpenILS::WWW::CGIUTF8;
-
-sub new {
- my $class = shift;
- my $context = shift;
- new OpenILS::WWW::CGIUTF8(@_);
-}
-
-1;