From e9b77861e7a8156613452fcb9c7ddd7651915a5d Mon Sep 17 00:00:00 2001 From: Christoffer Date: Sun, 23 Dec 2018 20:52:30 +0000 Subject: [PATCH] lib: removed comments from routinator rfc8416 style exception file --- lib/functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index 5f1beed..7d6f0c0 100755 --- a/lib/functions.php +++ b/lib/functions.php @@ -92,7 +92,9 @@ function writeRoutinatorExceptionFile ($roas) $fp = fopen('roa/export_rfc8416_dn42.json', 'w'); - fwrite ($fp, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/\/\/ /g'")); + //fwrite ($fp, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/\/\/ /g'")); + // Removed as routinator complains about comments in JSON file :( + fwrite($fp, $json); fclose($fp);