From 1fb7dcebb87b618157f028e277d72f4dbd31b712 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 16 Apr 2019 14:12:59 -0400 Subject: [PATCH] server-driven print templates temp simplify content type Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/WWW/PrintTemplate.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.11.0