From: Bill Erickson Date: Tue, 16 Apr 2019 18:12:59 +0000 (-0400) Subject: server-driven print templates temp simplify content type X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1fb7dcebb87b618157f028e277d72f4dbd31b712;p=working%2FEvergreen.git server-driven print templates temp simplify content type Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/PrintTemplate.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/PrintTemplate.pm index 436ea5cfb8..194afd3612 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/PrintTemplate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/PrintTemplate.pm @@ -105,7 +105,10 @@ sub handler { # Scrub the HTML $output = $hr->process($output); } - $r->content_type("$ctype; encoding=utf8"); + # TODO + # client current expects content type to only contain type. + # $r->content_type("$ctype; encoding=utf8"); + $r->content_type($ctype); $r->print($output); return Apache2::Const::OK;