Substitute broken JSON::XS with Cpanel::JSON::XS
authorMitch Jackson <mitch@freeside.biz>
Fri, 8 Dec 2017 20:25:09 +0000 (20:25 +0000)
committerMitch Jackson <mitch@freeside.biz>
Fri, 8 Dec 2017 20:25:09 +0000 (20:25 +0000)
FS/FS/Mason.pm

index 60e3779..76c3000 100644 (file)
@@ -77,7 +77,8 @@ if ( -e $addl_handler_use_file ) {
   use HTML::TableExtract qw(tree);
   use HTML::FormatText;
   use HTML::Defang;
-  use JSON::XS;
+#  use JSON::XS;        ! Maintainers deployed app-breaking defaults,
+  use Cpanel::JSON::XS; # this is considered safe compatible drop-in replacement
 #  use XMLRPC::Transport::HTTP;
 #  use XMLRPC::Lite; # for XMLRPC::Serializer
   use MIME::Base64;