Skip to content

Commit

Permalink
CPAN Release 0.68_001
Browse files Browse the repository at this point in the history
- Security fix Add $LoadBlessed option to turn on/off loading objects
  PR#73 TINITA++
  • Loading branch information
perlpunk committed Dec 20, 2017
1 parent b60a064 commit b9e6075
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
version: 0.68_001
date: Wed Dec 20 19:37:38 CET 2017
changes:
- Security fix Add $LoadBlessed option to turn on/off loading objects
PR#73 TINITA++
---
version: 0.68
date: Mon Dec 18 20:01:05 CET 2017
changes:
Expand Down
2 changes: 1 addition & 1 deletion Meta
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=meta: 0.0.2

name: YAML-LibYAML
version: 0.68
version: 0.68_001
abstract: Perl YAML Serialization using XS and libyaml
homepage: http://yaml.org
language: perl
Expand Down
4 changes: 3 additions & 1 deletion ReadMe.pod
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ When set to false, it will not bless data into objects, which can be a
security problem, when loading YAML from an untrusted source. It will silently
ignore the tag and just load the data unblessed.

In PyYAML, this is called SafeLoad.

If set to true, it will load the following YAML as objects:

---
local: !Foo::Bar [a]
perl: !!perl/hash:Foo::Bar { a: 1 }
regex: !!perl/regexp:Foo::Bar OK
regex: !!perl/regexp:Foo::Bar pattern

=item C<$YAML::XS::UseCode>

Expand Down
2 changes: 1 addition & 1 deletion lib/YAML/LibYAML.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use strict; use warnings;
package YAML::LibYAML;
our $VERSION = '0.68';
our $VERSION = '0.68_001';

sub import {
die "YAML::LibYAML has been renamed to YAML::XS. Please use YAML::XS instead.";
Expand Down
2 changes: 1 addition & 1 deletion lib/YAML/XS.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use strict; use warnings;

package YAML::XS;
our $VERSION = '0.68';
our $VERSION = '0.68_001';

use base 'Exporter';

Expand Down

0 comments on commit b9e6075

Please sign in to comment.