From 31b12efbb5cc190a489ccbc17e7c4af38d792214 Mon Sep 17 00:00:00 2001 From: dante Date: Thu, 19 Oct 2017 10:53:56 -0400 Subject: [PATCH] HOR-3845 --- gulliver/system/class.g.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index 477578c59..c96681c48 100644 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -1250,9 +1250,9 @@ class G $aAux = explode('/', $filename); $downloadFileName = $aAux[count($aAux) - 1]; } - header('Content-Disposition: attachment; filename="' . $downloadFileName . '"'); + header('Content-Disposition: attachment; filename="' . G::inflect($downloadFileName) . '"'); } else { - header('Content-Disposition: inline; filename="' . $downloadFileName . '"'); + header('Content-Disposition: inline; filename="' . G::inflect($downloadFileName) . '"'); } header('Content-Type: ' . $contentType);