Catalyst-Plugin-CheckFileUploadTypes v0.20 Perl 5 v5.36.3 arm64-freebsd
- Status
- Pass
- From
- Slaven Rezić
- Dist
-
Catalyst-Plugin-CheckFileUploadTypes v0.20
- Platform
- Perl 5 v5.36.3 arm64-freebsd
- Date
- 2024-01-24 22:48:49
- ID
- bd88b102-bb0a-11ee-853c-d14b6e8775ea
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear David Precious,
This is a computer-generated report for Catalyst-Plugin-CheckFileUploadTypes-0.20
on perl 5.36.3, created by CPAN-Reporter-1.2019.
Thank you for uploading your work to CPAN. Congratulations!
All tests were successful.
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
none provided
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/usr/perl5.36.3/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded plugins:
.----------------------------------------------------------------------------.
| Catalyst::Plugin::CheckFileUploadTypes 0.20 |
| Catalyst::Plugin::ConfigLoader 0.35 |
'----------------------------------------------------------------------------'
[debug] Loaded PSGI Middleware:
.----------------------------------------------------------------------------.
| Catalyst::Middleware::Stash |
| Plack::Middleware::HTTPExceptions |
| Plack::Middleware::RemoveRedundantBody 0.09 |
| Plack::Middleware::FixMissingBodyInRedirect 0.12 |
| Plack::Middleware::ContentLength |
| Plack::Middleware::MethodOverride 0.20 |
| Plack::Middleware::Head |
'----------------------------------------------------------------------------'
[debug] Loaded Request Data Handlers:
.----------------------------------------------------------------------------.
| application/x-www-form-urlencoded |
| application/json |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine"
[debug] Found home "/home/cpansand/.cpan/build/2024012422/Catalyst-Plugin-CheckFileUploadTypes-0.20-0/t/lib/TestApp"
[debug] Loaded components:
.-----------------------------------------------------------------+----------.
| Class | Type |
+-----------------------------------------------------------------+----------+
| TestApp::Controller::Root | instance |
'-----------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /index | TestApp::Controller::Root | index |
| /expect_text | TestApp::Controller::Root | expect_text |
| /expect_image | TestApp::Controller::Root | expect_image |
| /expect_any | TestApp::Controller::Root | expect_any |
'----------------------+--------------------------------------+--------------'
[debug] Loaded Path actions:
.-------------------------------------+--------------------------------------.
| Path | Private |
+-------------------------------------+--------------------------------------+
| / | /index |
| /expect_any/ | /expect_any |
| /expect_image/ | /expect_image |
| /expect_text/ | /expect_text |
'-------------------------------------+--------------------------------------'
[info] DaveTest powered by Catalyst 5.90131
[info] *** Request 1 (1.000/s) [87554] [Wed Jan 24 22:45:23 2024] ***
[debug] Path is "/"
[debug] "GET" request for "/" from "127.0.0.1"
[debug] Response Code: 200; Content-Type: text/html; charset=utf-8; Content-Length: unknown
[info] Request took 0.003183s (314.169/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /index | 0.000256s |
'------------------------------------------------------------+-----------'
[info] *** Request 2 (2.000/s) [87554] [Wed Jan 24 22:45:23 2024] ***
[debug] Path is "expect_any"
[debug] "POST" request for "expect_any" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | not_really_a_text_file.jpg | text/fake | 795885 |
'--------------+----------------------------+--------------------+-----------'
Use of uninitialized value $_ in split at /home/cpansand/.cpan/build/2024012422/Catalyst-Plugin-CheckFileUploadTypes-0.20-0/blib/lib/Catalyst/Plugin/CheckFileUploadTypes.pm line 51.
[debug] Response Code: 200; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.007023s (142.389/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_any | 0.000116s |
'------------------------------------------------------------+-----------'
[info] *** Request 3 (3.000/s) [87554] [Wed Jan 24 22:45:23 2024] ***
[debug] Path is "expect_image"
[debug] "POST" request for "expect_image" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | not_really_a_text_file.jpg | text/fake | 795885 |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type image/png for not_really_a_text_file.jpg
[debug] Response Code: 200; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.007171s (139.451/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_image | 0.000136s |
'------------------------------------------------------------+-----------'
[info] *** Request 4 (4.000/s) [87554] [Wed Jan 24 22:45:23 2024] ***
[debug] Path is "expect_image"
[debug] "POST" request for "expect_image" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | pretty-picture.png | text/plain | 78 |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type text/plain for pretty-picture.png
[warn] Upload pretty-picture.png with unexpected type text/plain rejected
[debug] Response Code: 400; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.006099s (163.961/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 5 (5.000/s) [87554] [Wed Jan 24 22:45:23 2024] ***
[debug] Path is "expect_image"
[debug] "POST" request for "expect_image" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | pretty-picture.png | image/png | 795885 |
| upload2 | pretty-picture-honestly-g- | image/png | 78 |
| | uv.png | | |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type image/png for pretty-picture.png
[debug] Determined type text/plain for pretty-picture-honestly-guv.png
[warn] Upload pretty-picture-honestly-guv.png with unexpected type text/plain rejected
[debug] Response Code: 400; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.00821s (121.803/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 6 (6.000/s) [87554] [Wed Jan 24 22:45:23 2024] ***
[debug] Path is "expect_text"
[debug] "POST" request for "expect_text" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | a-text-file-but-really-xm- | text/plain | 39 |
| | l.txt | | |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type text/xml for a-text-file-but-really-xml.txt
[warn] Upload a-text-file-but-really-xml.txt with unexpected type text/xml rejected
[debug] Response Code: 400; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.004488s (222.816/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 7 (7.000/s) [87554] [Wed Jan 24 22:45:23 2024] ***
[debug] Path is "expect_text"
[debug] "POST" request for "expect_text" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | this-could-be-evil.sh | text/plain | 39 |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type text/x-shellscript for this-could-be-evil.sh
[warn] Upload this-could-be-evil.sh with unexpected type text/x-shellscript rejected
[debug] Response Code: 400; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.003916s (255.363/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 8 (8.000/s) [87554] [Wed Jan 24 22:45:23 2024] ***
[debug] Path is "expect_text"
[debug] "POST" request for "expect_text" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | script-writing-for-dummie- | text/plain | 271 |
| | s.txt | | |
'--------------+----------------------------+--------------------+-----------'
[debug] Determined type text/plain for script-writing-for-dummies.txt
[debug] Response Code: 200; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.005893s (169.693/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_text | 0.000135s |
'------------------------------------------------------------+-----------'
[info] *** Request 9 (9.000/s) [87554] [Wed Jan 24 22:45:23 2024] ***
[debug] Path is "/"
[debug] "POST" request for "/" from "127.0.0.1"
[debug] File Uploads are:
.--------------+----------------------------+--------------------+-----------.
| Parameter | Filename | Type | Size |
+--------------+----------------------------+--------------------+-----------+
| upload1 | pretty-picture.png | text/plain | 78 |
'--------------+----------------------------+--------------------+-----------'
[error] Uploads present, but not expected by action
[debug] Response Code: 400; Content-Type: unknown; Content-Length: unknown
[info] Request took 0.002774s (360.490/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
t/01app.t .......... ok
t/02pod.t .......... skipped: set TEST_POD to enable this test
t/03podcoverage.t .. skipped: set TEST_POD to enable this test
All tests successful.
Files=3, Tests=17, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.76 cusr 0.08 csys = 0.87 CPU)
Result: PASS
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
------------------------------ ---- --------
Catalyst::ClassData 0 0
Data::Dumper 0 2.184
Data::Printer 0 1.002001
File::LibMagic 0 1.23
Moose 0 2.2206
MRO::Compat 0 0.15
namespace::autoclean 0 0.29
build_requires:
Module Need Have
------------------------------ ---- --------
Catalyst 0 5.90131
Catalyst::Controller 0 0
Catalyst::Plugin::ConfigLoader 0 0.35
Catalyst::Runtime 5.80 5.90131
Catalyst::Test 0 0
ExtUtils::MakeMaker 0 7.70
FindBin 0 1.53
HTTP::Request::Common 0 6.45
HTTP::Status 0 6.45
lib 0 0.65
strict 0 1.12
Test::More 0 1.302198
warnings 0 1.58
configure_requires:
Module Need Have
------------------------------ ---- --------
ExtUtils::MakeMaker 0 7.70
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
LANG = C.UTF-8
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
PERL5LIB = /home/cpansand/.cpan/build/2024012422/File-LibMagic-1.23-0/blib/arch:/home/cpansand/.cpan/build/2024012422/File-LibMagic-1.23-0/blib/lib:/home/cpansand/.cpan/build/2024012422/Config-AutoConf-0.320-0/blib/arch:/home/cpansand/.cpan/build/2024012422/Config-AutoConf-0.320-0/blib/lib:/home/cpansand/.cpan/build/2024012422/Catalyst-Plugin-ConfigLoader-0.35-0/blib/arch:/home/cpansand/.cpan/build/2024012422/Catalyst-Plugin-ConfigLoader-0.35-0/blib/lib
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 86919
PERL5_CPAN_IS_RUNNING = 86919
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 86906,86919
PERL_BATCH = yes
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2024012422/cpanreporter_000_config.ini
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_USE_UNSAFE_INC = 1
SHELL = /bin/sh
TMPDIR = /var/tmp/cpansmoker-1023/2024012422
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /usr/perl5.36.3/bin/perl
$UID/$EUID = 1023 / 1023
$GID = 1023 1023
$EGID = 1023 1023
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.33
CPAN::Meta 2.150010
Cwd 3.84
ExtUtils::CBuilder 0.280236
ExtUtils::Command 7.70
ExtUtils::Install 2.20
ExtUtils::MakeMaker 7.70
ExtUtils::Manifest 1.73
ExtUtils::ParseXS 3.51
File::Spec 3.84
JSON 4.10
JSON::PP 4.16
Module::Build 0.4234
Module::Signature 0.88
Parse::CPAN::Meta 2.150010
Test2 1.302198
Test::Harness 3.44
Test::More 1.302198
YAML 1.30
YAML::Syck 1.34
version 0.9929
--
Summary of my perl5 (revision 5 version 36 subversion 3) configuration:
Platform:
osname=freebsd
osvers=14.0-stable
archname=arm64-freebsd
uname='freebsd cloud9.bbbike.org 14.0-stable freebsd 14.0-stable #0 stable14-ac83f3fa4: mon dec 25 18:44:17 utc 2023 root@cloud9.bbbike.org:usrobjhomeprojectsfreebsd-srcarm64.aarch64sysgeneric arm64 '
config_args='-ds -e -Dprefix=/usr/perl5.36.3 -Dcf_email=srezic@cpan.org -Doptimize=-O2 -pipe'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='cc'
ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
optimize='-O2 -pipe'
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='FreeBSD Clang 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=1
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags ='-Wl,-E -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib /usr/lib/clang/16/lib
libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
libc=
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags=' '
cccdlflags='-DPIC -fPIC'
lddlflags='-shared -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
USE_64_BIT_ALL
USE_64_BIT_INT
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
Built under freebsd
Compiled at Dec 26 2023 16:17:13
%ENV:
PERL5LIB="/home/cpansand/.cpan/build/2024012422/File-LibMagic-1.23-0/blib/arch:/home/cpansand/.cpan/build/2024012422/File-LibMagic-1.23-0/blib/lib:/home/cpansand/.cpan/build/2024012422/Config-AutoConf-0.320-0/blib/arch:/home/cpansand/.cpan/build/2024012422/Config-AutoConf-0.320-0/blib/lib:/home/cpansand/.cpan/build/2024012422/Catalyst-Plugin-ConfigLoader-0.35-0/blib/arch:/home/cpansand/.cpan/build/2024012422/Catalyst-Plugin-ConfigLoader-0.35-0/blib/lib"
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="86919"
PERL5_CPAN_IS_RUNNING="86919"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="86906,86919"
PERL_BATCH="yes"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2024012422/cpanreporter_000_config.ini"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_USE_UNSAFE_INC="1"
@INC:
/home/cpansand/.cpan/build/2024012422/File-LibMagic-1.23-0/blib/arch
/home/cpansand/.cpan/build/2024012422/File-LibMagic-1.23-0/blib/lib
/home/cpansand/.cpan/build/2024012422/Config-AutoConf-0.320-0/blib/arch
/home/cpansand/.cpan/build/2024012422/Config-AutoConf-0.320-0/blib/lib
/home/cpansand/.cpan/build/2024012422/Catalyst-Plugin-ConfigLoader-0.35-0/blib/arch
/home/cpansand/.cpan/build/2024012422/Catalyst-Plugin-ConfigLoader-0.35-0/blib/lib
/usr/perl5.36.3/lib/site_perl/5.36.3/arm64-freebsd
/usr/perl5.36.3/lib/site_perl/5.36.3
/usr/perl5.36.3/lib/5.36.3/arm64-freebsd
/usr/perl5.36.3/lib/5.36.3
.