Catalyst-Plugin-CheckFileUploadTypes v0.20 Perl 5 v5.28.3 x86_64-linux-ld
- Status
- Pass
- From
- Andreas J. König (ANDK)
- Dist
-
Catalyst-Plugin-CheckFileUploadTypes v0.20
- Platform
- Perl 5 v5.28.3 x86_64-linux-ld
- Date
- 2024-02-05 10:26:00
- ID
- f5567a24-c410-11ee-bef3-ee5051a28c02
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.28.3, created by CPAN-Reporter-1.2018.
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:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.3/fc43/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/json |
| application/x-www-form-urlencoded |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine"
[debug] Found home "/tmp/loop_over_bdir-2207-pyD5f6/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_any | TestApp::Controller::Root | expect_any |
| /expect_image | TestApp::Controller::Root | expect_image |
'----------------------+--------------------------------------+--------------'
[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.90130
[info] *** Request 1 (1.000/s) [2528220] [Mon Feb 5 11:25:46 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.003818s (261.917/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /index | 0.000256s |
'------------------------------------------------------------+-----------'
[info] *** Request 2 (2.000/s) [2528220] [Mon Feb 5 11:25:46 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 /tmp/loop_over_bdir-2207-pyD5f6/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.011621s (86.051/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_any | 0.000092s |
'------------------------------------------------------------+-----------'
[info] *** Request 3 (3.000/s) [2528220] [Mon Feb 5 11:25:46 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.01213s (82.440/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_image | 0.000098s |
'------------------------------------------------------------+-----------'
[info] *** Request 4 (4.000/s) [2528220] [Mon Feb 5 11:25:46 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.008838s (113.148/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 5 (5.000/s) [2528220] [Mon Feb 5 11:25:46 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.015301s (65.355/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 6 (6.000/s) [2528220] [Mon Feb 5 11:25:46 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.004565s (219.058/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 7 (7.000/s) [2528220] [Mon Feb 5 11:25:46 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.004965s (201.410/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 8 (8.000/s) [2528220] [Mon Feb 5 11:25:46 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.009259s (108.003/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_text | 0.000103s |
'------------------------------------------------------------+-----------'
[info] *** Request 9 (9.000/s) [2528220] [Mon Feb 5 11:25:46 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, 2 wallclock secs ( 0.03 usr 0.02 sys + 0.95 cusr 0.17 csys = 1.17 CPU)
Result: PASS
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
------------------------------ ---- --------
Catalyst::ClassData 0 0
Data::Dumper 0 2.183
Data::Printer 0 1.000004
File::LibMagic 0 1.23
Moose 0 2.2201
MRO::Compat 0 0.15
namespace::autoclean 0 0.29
build_requires:
Module Need Have
------------------------------ ---- --------
Catalyst 0 5.90130
Catalyst::Controller 0 0
Catalyst::Plugin::ConfigLoader 0 0.35
Catalyst::Runtime 5.80 5.90130
Catalyst::Test 0 0
ExtUtils::MakeMaker 0 7.70
FindBin 0 1.53
HTTP::Request::Common 0 6.44
HTTP::Status 0 6.44
lib 0 0.64
strict 0 1.11
Test::More 0 1.302194
warnings 0 1.42
configure_requires:
Module Need Have
------------------------------ ---- --------
ExtUtils::MakeMaker 0 7.70
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
LANGUAGE = en_US:en
PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 2527441
PERL5_CPAN_IS_RUNNING = 2527441
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_MM_USE_DEFAULT = 1
PERL_USE_UNSAFE_INC = 1
SHELL = /usr/bin/zsh
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.3/fc43/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.36
CPAN::Meta 2.150010
Cwd 3.75
ExtUtils::CBuilder 0.280236
ExtUtils::Command 7.70
ExtUtils::Install 2.22
ExtUtils::MakeMaker 7.70
ExtUtils::Manifest 1.75
ExtUtils::ParseXS 3.51
File::Spec 3.75
JSON 4.10
JSON::PP 4.12
Module::Build 0.4231
Module::Signature 0.88
Parse::CPAN::Meta 2.150010
Test::Harness 3.48
Test::More 1.302194
YAML 1.30
YAML::Syck 1.34
version 0.9929
--
Summary of my perl5 (revision 5 version 28 subversion 3) configuration:
Derived from: ae49126f3ca2352fb49d7121a769189bf31e6f72
Platform:
osname=linux
osvers=5.19.0-2-amd64
archname=x86_64-linux-ld
uname='linux k93msid 5.19.0-2-amd64 #1 smp preempt_dynamic debian 5.19.11-1 (2022-09-24) x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.3/fc43 -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Uuseithreads -Duselongdouble -DEBUGGING=both'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=define
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
optimize='-O2 -g'
cppflags='-fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='12.2.0'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='long double'
nvsize=16
Off_t='off_t'
lseeksize=8
alignbytes=16
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /lib64 /usr/lib64
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/x86_64-linux-gnu/libc.so.6
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.35'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
DEBUGGING
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_DEVEL
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_LONG_DOUBLE
USE_PERLIO
USE_PERL_ATOF
Locally applied patches:
uncommitted-changes
Built under linux
Compiled at Dec 1 2022 14:29:54
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="2527441"
PERL5_CPAN_IS_RUNNING="2527441"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.3/fc43/lib/site_perl/5.28.3/x86_64-linux-ld
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.3/fc43/lib/site_perl/5.28.3
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.3/fc43/lib/5.28.3/x86_64-linux-ld
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.28.3/fc43/lib/5.28.3
.