make more de/serializers optional for security reasons
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Controller / REST.pm
index 26dc20e..6df8461 100644 (file)
@@ -291,9 +291,7 @@ __PACKAGE__->mk_accessors(qw(serialize));
 __PACKAGE__->config(
     'stash_key' => 'rest',
     'map'       => {
-        'text/html'          => 'YAML::HTML',
         'text/xml'           => 'XML::Simple',
-        'text/x-yaml'        => 'YAML',
         'application/json'   => 'JSON',
         'text/x-json'        => 'JSON',
     },