From 38b4ab79c0dedc5643653f07f472c404934c545c Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Sun, 13 Nov 2016 22:42:43 +0000 Subject: [PATCH] No conv other than base64 to handle binary also --- lib/github.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/github.php b/lib/github.php index 03164bb..cf82347 100644 --- a/lib/github.php +++ b/lib/github.php @@ -185,8 +185,8 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset // Only get the file if it exists and begins with our $docRoot if (file_exists($file) && strpos($file,$docRoot) === 0) { - $loadedFile = toUTF8noBOM(getData($file),true); - echo '","",str_replace("&","&",$loadedFile)).'

'.PHP_EOL.PHP_EOL; + $loadedFile = getData($file); + echo '

'.PHP_EOL.PHP_EOL; } else { die(""); }