Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-DateTime-Locale for
openSUSE:Factory checked in at 2022-04-30 00:44:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime-Locale (Old)
and /work/SRC/openSUSE:Factory/.perl-DateTime-Locale.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DateTime-Locale"
Sat Apr 30 00:44:05 2022 rev:42 rq:973316 version:1.350000
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-DateTime-Locale/perl-DateTime-Locale.changes
2022-04-16 00:12:57.501545680 +0200
+++
/work/SRC/openSUSE:Factory/.perl-DateTime-Locale.new.1538/perl-DateTime-Locale.changes
2022-04-30 00:44:06.362876901 +0200
@@ -1,0 +2,17 @@
+Sun Apr 24 03:06:18 UTC 2022 - Tina M??ller <[email protected]>
+
+- updated to 1.35
+ see /usr/share/doc/packages/perl-DateTime-Locale/Changes
+
+ 1.35 2022-04-23
+
+ - The code passed to DateTime::Locale->load is now validated and untainted
+ before using it to load and eval data from the filesystem. I don't think
+ there were any security issues without this, as the load method would only
+ attempt to load data from disk if the code was already known. This means
+ that attempting to pass in any sort of arbitrary path to the load method
+ would simply result in an error that the code was invalid, and there would
+ be no attempt to read from disk. Based on GH #30. Implemented by James
+ Raspass.
+
+-------------------------------------------------------------------
Old:
----
DateTime-Locale-1.34.tar.gz
New:
----
DateTime-Locale-1.35.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DateTime-Locale.spec ++++++
--- /var/tmp/diff_new_pack.uwnibV/_old 2022-04-30 00:44:06.990877446 +0200
+++ /var/tmp/diff_new_pack.uwnibV/_new 2022-04-30 00:44:06.994877449 +0200
@@ -18,10 +18,10 @@
%define cpan_name DateTime-Locale
Name: perl-DateTime-Locale
-Version: 1.340000
+Version: 1.350000
Release: 0
-%define cpan_version 1.34
-Provides: perl(DateTime::Locale) = 1.340000
+%define cpan_version 1.35
+Provides: perl(DateTime::Locale) = 1.350000
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Localization support for DateTime.pm
URL: https://metacpan.org/release/%{cpan_name}
++++++ DateTime-Locale-1.34.tar.gz -> DateTime-Locale-1.35.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/Changes
new/DateTime-Locale-1.35/Changes
--- old/DateTime-Locale-1.34/Changes 2022-04-08 17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/Changes 2022-04-23 18:38:11.000000000 +0200
@@ -1,3 +1,15 @@
+1.35 2022-04-23
+
+- The code passed to DateTime::Locale->load is now validated and untainted
+ before using it to load and eval data from the filesystem. I don't think
+ there were any security issues without this, as the load method would only
+ attempt to load data from disk if the code was already known. This means
+ that attempting to pass in any sort of arbitrary path to the load method
+ would simply result in an error that the code was invalid, and there would
+ be no attempt to read from disk. Based on GH #30. Implemented by James
+ Raspass.
+
+
1.34 2022-04-08
- Rebuilt all locale data with the data from CLDR 40.0.0.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/MANIFEST
new/DateTime-Locale-1.35/MANIFEST
--- old/DateTime-Locale-1.34/MANIFEST 2022-04-08 17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/MANIFEST 2022-04-23 18:38:11.000000000 +0200
@@ -1637,6 +1637,7 @@
t/register_from_data.t
t/script.t
t/storable.t
+t/taint.t
t/version-check.t
t/zzz-check-breaks.t
tools/generate-modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/META.json
new/DateTime-Locale-1.35/META.json
--- old/DateTime-Locale-1.34/META.json 2022-04-08 17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/META.json 2022-04-23 18:38:11.000000000 +0200
@@ -93,6 +93,7 @@
"File::Temp" : "0",
"IPC::System::Simple" : "0",
"Path::Tiny" : "0",
+ "Scalar::Util" : "0",
"Test2::Plugin::NoWarnings" : "0",
"Test2::Plugin::UTF8" : "0",
"Test2::Require::Module" : "0",
@@ -107,27 +108,27 @@
"provides" : {
"DateTime::Locale" : {
"file" : "lib/DateTime/Locale.pm",
- "version" : "1.34"
+ "version" : "1.35"
},
"DateTime::Locale::Base" : {
"file" : "lib/DateTime/Locale/Base.pm",
- "version" : "1.34"
+ "version" : "1.35"
},
"DateTime::Locale::Catalog" : {
"file" : "lib/DateTime/Locale/Catalog.pm",
- "version" : "1.34"
+ "version" : "1.35"
},
"DateTime::Locale::Data" : {
"file" : "lib/DateTime/Locale/Data.pm",
- "version" : "1.34"
+ "version" : "1.35"
},
"DateTime::Locale::FromData" : {
"file" : "lib/DateTime/Locale/FromData.pm",
- "version" : "1.34"
+ "version" : "1.35"
},
"DateTime::Locale::Util" : {
"file" : "lib/DateTime/Locale/Util.pm",
- "version" : "1.34"
+ "version" : "1.35"
}
},
"release_status" : "stable",
@@ -143,7 +144,7 @@
},
"x_MailingList" : "[email protected]"
},
- "version" : "1.34",
+ "version" : "1.35",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.032001"
@@ -1273,7 +1274,7 @@
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.35.1",
+ "git_version" : "2.36.0",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
@@ -1542,7 +1543,7 @@
"class" :
"Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch",
"config" : {
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.35.1",
+ "git_version" : "2.36.0",
"repo_root" : "."
}
},
@@ -1558,7 +1559,7 @@
"class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
"config" : {
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.35.1",
+ "git_version" : "2.36.0",
"repo_root" : "."
}
},
@@ -1601,7 +1602,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.35.1",
+ "git_version" : "2.36.0",
"repo_root" : "."
}
},
@@ -1631,7 +1632,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.35.1",
+ "git_version" : "2.36.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -1648,12 +1649,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v1.34",
+ "tag" : "v1.35",
"tag_format" : "v%V",
"tag_message" : "v%V"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.35.1",
+ "git_version" : "2.36.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -1673,7 +1674,7 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.35.1",
+ "git_version" : "2.36.0",
"repo_root" : "."
}
},
@@ -1714,7 +1715,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.35.1",
+ "git_version" : "2.36.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -1734,7 +1735,7 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.35.1",
+ "git_version" : "2.36.0",
"repo_root" : "."
}
},
@@ -1872,6 +1873,7 @@
},
"x_contributors" : [
"Alexander Pankoff <[email protected]>",
+ "James Raspass <[email protected]>",
"Karen Etheridge <[email protected]>",
"Mohammad S Anwar <[email protected]>",
"Ryley Breiddal <[email protected]>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/META.yml
new/DateTime-Locale-1.35/META.yml
--- old/DateTime-Locale-1.34/META.yml 2022-04-08 17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/META.yml 2022-04-23 18:38:11.000000000 +0200
@@ -10,6 +10,7 @@
File::Temp: '0'
IPC::System::Simple: '0'
Path::Tiny: '0'
+ Scalar::Util: '0'
Test2::Plugin::NoWarnings: '0'
Test2::Plugin::UTF8: '0'
Test2::Require::Module: '0'
@@ -35,22 +36,22 @@
provides:
DateTime::Locale:
file: lib/DateTime/Locale.pm
- version: '1.34'
+ version: '1.35'
DateTime::Locale::Base:
file: lib/DateTime/Locale/Base.pm
- version: '1.34'
+ version: '1.35'
DateTime::Locale::Catalog:
file: lib/DateTime/Locale/Catalog.pm
- version: '1.34'
+ version: '1.35'
DateTime::Locale::Data:
file: lib/DateTime/Locale/Data.pm
- version: '1.34'
+ version: '1.35'
DateTime::Locale::FromData:
file: lib/DateTime/Locale/FromData.pm
- version: '1.34'
+ version: '1.35'
DateTime::Locale::Util:
file: lib/DateTime/Locale/Util.pm
- version: '1.34'
+ version: '1.35'
requires:
Carp: '0'
Dist::CheckConflicts: '0.02'
@@ -71,7 +72,7 @@
bugtracker: https://github.com/houseabsolute/DateTime-Locale/issues
homepage: https://metacpan.org/release/DateTime-Locale
repository: git://github.com/houseabsolute/DateTime-Locale.git
-version: '1.34'
+version: '1.35'
x_Dist_Zilla:
perl:
version: '5.032001'
@@ -1107,7 +1108,7 @@
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- git_version: 2.35.1
+ git_version: 2.36.0
include_authors: 0
include_releaser: 1
order_by: name
@@ -1316,7 +1317,7 @@
class: Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch
config:
Dist::Zilla::Role::Git::Repo:
- git_version: 2.35.1
+ git_version: 2.36.0
repo_root: .
name: '@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch'
version: '1.20'
@@ -1328,7 +1329,7 @@
class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
config:
Dist::Zilla::Role::Git::Repo:
- git_version: 2.35.1
+ git_version: 2.36.0
repo_root: .
name: '@DROLSKY/Git::CheckFor::MergeConflicts'
version: '0.014'
@@ -1362,7 +1363,7 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.35.1
+ git_version: 2.36.0
repo_root: .
name: '@DROLSKY/Git::Check'
version: '2.048'
@@ -1386,7 +1387,7 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.35.1
+ git_version: 2.36.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
@@ -1399,11 +1400,11 @@
branch: ~
changelog: Changes
signed: 0
- tag: v1.34
+ tag: v1.35
tag_format: v%V
tag_message: v%V
Dist::Zilla::Role::Git::Repo:
- git_version: 2.35.1
+ git_version: 2.36.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
@@ -1417,7 +1418,7 @@
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- git_version: 2.35.1
+ git_version: 2.36.0
repo_root: .
name: '@DROLSKY/Git::Push'
version: '2.048'
@@ -1447,7 +1448,7 @@
- (?^:.+)
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.35.1
+ git_version: 2.36.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
@@ -1461,7 +1462,7 @@
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- git_version: 2.35.1
+ git_version: 2.36.0
repo_root: .
name: '@DROLSKY/Push version bump'
version: '2.048'
@@ -1564,6 +1565,7 @@
DateTime::Format::Strptime: '<= 1.1000'
x_contributors:
- 'Alexander Pankoff <[email protected]>'
+ - 'James Raspass <[email protected]>'
- 'Karen Etheridge <[email protected]>'
- 'Mohammad S Anwar <[email protected]>'
- 'Ryley Breiddal <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/Makefile.PL
new/DateTime-Locale-1.35/Makefile.PL
--- old/DateTime-Locale-1.34/Makefile.PL 2022-04-08 17:43:31.000000000
+0200
+++ new/DateTime-Locale-1.35/Makefile.PL 2022-04-23 18:38:11.000000000
+0200
@@ -50,6 +50,7 @@
"File::Temp" => 0,
"IPC::System::Simple" => 0,
"Path::Tiny" => 0,
+ "Scalar::Util" => 0,
"Test2::Plugin::NoWarnings" => 0,
"Test2::Plugin::UTF8" => 0,
"Test2::Require::Module" => 0,
@@ -59,7 +60,7 @@
"base" => 0,
"utf8" => 0
},
- "VERSION" => "1.34",
+ "VERSION" => "1.35",
"test" => {
"TESTS" => "t/*.t"
}
@@ -79,6 +80,7 @@
"List::Util" => "1.45",
"Params::ValidationCompiler" => "0.13",
"Path::Tiny" => 0,
+ "Scalar::Util" => 0,
"Specio::Declare" => 0,
"Specio::Library::String" => 0,
"Storable" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/README.md
new/DateTime-Locale-1.35/README.md
--- old/DateTime-Locale-1.34/README.md 2022-04-08 17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/README.md 2022-04-23 18:38:11.000000000 +0200
@@ -4,7 +4,7 @@
# VERSION
-version 1.34
+version 1.35
# SYNOPSIS
@@ -222,6 +222,7 @@
# CONTRIBUTORS
- Alexander Pankoff <[email protected]>
+- James Raspass <[email protected]>
- Karen Etheridge <[email protected]>
- Mohammad S Anwar <[email protected]>
- Ryley Breiddal <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/cpanfile
new/DateTime-Locale-1.35/cpanfile
--- old/DateTime-Locale-1.34/cpanfile 2022-04-08 17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/cpanfile 2022-04-23 18:38:11.000000000 +0200
@@ -24,6 +24,7 @@
requires "File::Temp" => "0";
requires "IPC::System::Simple" => "0";
requires "Path::Tiny" => "0";
+ requires "Scalar::Util" => "0";
requires "Test2::Plugin::NoWarnings" => "0";
requires "Test2::Plugin::UTF8" => "0";
requires "Test2::Require::Module" => "0";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/lib/DateTime/Locale/Base.pm
new/DateTime-Locale-1.35/lib/DateTime/Locale/Base.pm
--- old/DateTime-Locale-1.34/lib/DateTime/Locale/Base.pm 2022-04-08
17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/lib/DateTime/Locale/Base.pm 2022-04-23
18:38:12.000000000 +0200
@@ -4,7 +4,7 @@
use warnings;
use namespace::autoclean;
-our $VERSION = '1.34';
+our $VERSION = '1.35';
use Carp qw( carp );
use DateTime::Locale;
@@ -493,7 +493,7 @@
=head1 VERSION
-version 1.34
+version 1.35
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/lib/DateTime/Locale/Catalog.pm
new/DateTime-Locale-1.35/lib/DateTime/Locale/Catalog.pm
--- old/DateTime-Locale-1.34/lib/DateTime/Locale/Catalog.pm 2022-04-08
17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/lib/DateTime/Locale/Catalog.pm 2022-04-23
18:38:12.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '1.34';
+our $VERSION = '1.35';
1;
@@ -21,7 +21,7 @@
=head1 VERSION
-version 1.34
+version 1.35
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/lib/DateTime/Locale/Data.pm
new/DateTime-Locale-1.35/lib/DateTime/Locale/Data.pm
--- old/DateTime-Locale-1.34/lib/DateTime/Locale/Data.pm 2022-04-08
17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/lib/DateTime/Locale/Data.pm 2022-04-23
18:38:12.000000000 +0200
@@ -21,7 +21,7 @@
use File::ShareDir qw( dist_file );
use File::Spec;
-our $VERSION = '1.34';
+our $VERSION = '1.35';
#<<<
### :start CLDRVersion:
@@ -6143,6 +6143,10 @@
sub _data_for {
my $code = shift;
+ # This untaints the variable.
+ ($code) = $code =~ /^([A-Za-z0-9-]+)$/
+ or die "Invalid locale code - $code\n";
+
my $data
= do(
File::Spec->rel2abs( dist_file( 'DateTime-Locale', $code . '.pl' ) )
@@ -6188,7 +6192,7 @@
=head1 VERSION
-version 1.34
+version 1.35
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/lib/DateTime/Locale/FromData.pm
new/DateTime-Locale-1.35/lib/DateTime/Locale/FromData.pm
--- old/DateTime-Locale-1.34/lib/DateTime/Locale/FromData.pm 2022-04-08
17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/lib/DateTime/Locale/FromData.pm 2022-04-23
18:38:12.000000000 +0200
@@ -9,7 +9,7 @@
use Specio::Declare;
use Storable qw( dclone );
-our $VERSION = '1.34';
+our $VERSION = '1.35';
my @FormatLengths;
@@ -289,7 +289,7 @@
=head1 VERSION
-version 1.34
+version 1.35
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/lib/DateTime/Locale/Util.pm
new/DateTime-Locale-1.35/lib/DateTime/Locale/Util.pm
--- old/DateTime-Locale-1.34/lib/DateTime/Locale/Util.pm 2022-04-08
17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/lib/DateTime/Locale/Util.pm 2022-04-23
18:38:12.000000000 +0200
@@ -6,7 +6,7 @@
use Exporter qw( import );
-our $VERSION = '1.34';
+our $VERSION = '1.35';
our @EXPORT_OK = 'parse_locale_code';
@@ -66,7 +66,7 @@
=head1 VERSION
-version 1.34
+version 1.35
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/lib/DateTime/Locale.pm
new/DateTime-Locale-1.35/lib/DateTime/Locale.pm
--- old/DateTime-Locale-1.34/lib/DateTime/Locale.pm 2022-04-08
17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/lib/DateTime/Locale.pm 2022-04-23
18:38:12.000000000 +0200
@@ -6,7 +6,7 @@
use warnings;
use namespace::autoclean;
-our $VERSION = '1.34';
+our $VERSION = '1.35';
use DateTime::Locale::Data;
use DateTime::Locale::FromData;
@@ -380,7 +380,7 @@
=head1 VERSION
-version 1.34
+version 1.35
=head1 SYNOPSIS
@@ -602,7 +602,7 @@
=head1 CONTRIBUTORS
-=for stopwords Alexander Pankoff Karen Etheridge Mohammad S Anwar Ryley
Breiddal Sergey Leschenko yasu47b
+=for stopwords Alexander Pankoff James Raspass Karen Etheridge Mohammad S
Anwar Ryley Breiddal Sergey Leschenko yasu47b
=over 4
@@ -612,6 +612,10 @@
=item *
+James Raspass <[email protected]>
+
+=item *
+
Karen Etheridge <[email protected]>
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/t/00-report-prereqs.dd
new/DateTime-Locale-1.35/t/00-report-prereqs.dd
--- old/DateTime-Locale-1.34/t/00-report-prereqs.dd 2022-04-08
17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/t/00-report-prereqs.dd 2022-04-23
18:38:12.000000000 +0200
@@ -73,6 +73,7 @@
'File::Temp' => '0',
'IPC::System::Simple' => '0',
'Path::Tiny' => '0',
+ 'Scalar::Util' => '0',
'Test2::Plugin::NoWarnings' => '0',
'Test2::Plugin::UTF8' => '0',
'Test2::Require::Module' => '0',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/t/taint.t
new/DateTime-Locale-1.35/t/taint.t
--- old/DateTime-Locale-1.34/t/taint.t 1970-01-01 01:00:00.000000000 +0100
+++ new/DateTime-Locale-1.35/t/taint.t 2022-04-23 18:38:11.000000000 +0200
@@ -0,0 +1,28 @@
+#!perl -T
+
+use strict;
+use warnings;
+
+use Scalar::Util 'tainted';
+use Test2::V0;
+
+use DateTime::Locale;
+
+skip_all 'Taint mode is not enabled' unless ${^TAINT};
+
+# Concat code with zero bytes of executable name in order to taint it.
+my $code = 'en-GB' . substr $^X, 0, 0;
+
+ok( tainted($code), '$code is tainted' );
+
+try_ok(
+ sub {
+ is(
+ DateTime::Locale->load($code)->code, $code,
+ 'loaded correct code'
+ );
+ },
+ 'tainted load lives'
+);
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/xt/author/eol.t
new/DateTime-Locale-1.35/xt/author/eol.t
--- old/DateTime-Locale-1.34/xt/author/eol.t 2022-04-08 17:43:31.000000000
+0200
+++ new/DateTime-Locale-1.35/xt/author/eol.t 2022-04-23 18:38:12.000000000
+0200
@@ -830,6 +830,7 @@
't/register_from_data.t',
't/script.t',
't/storable.t',
+ 't/taint.t',
't/version-check.t',
't/zzz-check-breaks.t'
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/xt/author/no-tabs.t
new/DateTime-Locale-1.35/xt/author/no-tabs.t
--- old/DateTime-Locale-1.34/xt/author/no-tabs.t 2022-04-08
17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/xt/author/no-tabs.t 2022-04-23
18:38:12.000000000 +0200
@@ -830,6 +830,7 @@
't/register_from_data.t',
't/script.t',
't/storable.t',
+ 't/taint.t',
't/version-check.t',
't/zzz-check-breaks.t'
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.34/xt/author/pod-spell.t
new/DateTime-Locale-1.35/xt/author/pod-spell.t
--- old/DateTime-Locale-1.34/xt/author/pod-spell.t 2022-04-08
17:43:31.000000000 +0200
+++ new/DateTime-Locale-1.35/xt/author/pod-spell.t 2022-04-23
18:38:12.000000000 +0200
@@ -192,6 +192,7 @@
JE
JM
Jahres
+James
Jedoonee
Jelhein
Jiec
@@ -377,6 +378,7 @@
QQQy
Qidaame
Qunxa
+Raspass
Rica
Ridas
Rolsky
@@ -988,6 +990,7 @@
jimweri
jmc
jmc_TZ
+jraspass
jumwa
jv
jv_ID