From 3009a773c06e6e5d731c42b12ad82272f9706f03 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 28 Jul 2012 10:40:48 +0200 Subject: replaced use of basename() with utf8_basename() FS#2015 --- inc/feedcreator.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/feedcreator.class.php') diff --git a/inc/feedcreator.class.php b/inc/feedcreator.class.php index 435add6ac..ea8cc7b15 100644 --- a/inc/feedcreator.class.php +++ b/inc/feedcreator.class.php @@ -597,8 +597,8 @@ class FeedCreator extends HtmlDescribable { // HTTP redirect, some feed readers' simple HTTP implementations don't follow it //Header("Location: ".$filename); - header("Content-Type: ".$this->contentType."; charset=".$this->encoding."; filename=".basename($filename)); - header("Content-Disposition: inline; filename=".basename($filename)); + header("Content-Type: ".$this->contentType."; charset=".$this->encoding."; filename=".utf8_basename($filename)); + header("Content-Disposition: inline; filename=".utf8_basename($filename)); readfile($filename, "r"); die(); } -- cgit v1.2.3