Catalyst-Plugin-CheckFileUploadTypes v0.20 Perl 5 v5.41.5 x86_64-linux-thread-multi
- Status
- Pass
- From
- Andreas J. König (ANDK)
- Dist
-
Catalyst-Plugin-CheckFileUploadTypes v0.20
- Platform
- Perl 5 v5.41.5 x86_64-linux-thread-multi
- Date
- 2024-11-01 01:18:42
- ID
- 3bd2d5f8-97ef-11ef-aeb1-96959993fb4e
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.41.5, created by CPAN-Reporter-1.2020.
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 "/tmp/basesmoker-reloperl-y90Y/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 "/tmp/loop_over_bdir-2375-OXNd5N/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.90131
[info] *** Request 1 (1.000/s) [450342] [Fri Nov 1 01:14:44 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.003508s (285.063/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /index | 0.000239s |
'------------------------------------------------------------+-----------'
[info] *** Request 2 (2.000/s) [450342] [Fri Nov 1 01:14:44 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-2375-OXNd5N/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.01136s (88.028/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_any | 0.000098s |
'------------------------------------------------------------+-----------'
[info] *** Request 3 (3.000/s) [450342] [Fri Nov 1 01:14:44 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.013307s (75.148/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_image | 0.000102s |
'------------------------------------------------------------+-----------'
[info] *** Request 4 (4.000/s) [450342] [Fri Nov 1 01:14:44 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.009848s (101.543/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 5 (5.000/s) [450342] [Fri Nov 1 01:14:44 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 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.018016s (55.506/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 6 (6.000/s) [450342] [Fri Nov 1 01:14:44 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.004697s (212.902/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 7 (7.000/s) [450342] [Fri Nov 1 01:14:44 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.00424s (235.849/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 8 (8.000/s) [450342] [Fri Nov 1 01:14:44 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.01068s (93.633/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_text | 0.000118s |
'------------------------------------------------------------+-----------'
[info] *** Request 9 (9.000/s) [450342] [Fri Nov 1 01:14:44 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.002429s (411.692/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.96 cusr 0.08 csys = 1.07 CPU)
Result: PASS
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
------------------------------ ---- --------
Catalyst::ClassData 0 0
Data::Dumper 0 2.190
Data::Printer 0 1.002001
File::LibMagic 0 1.23
Moose 0 2.2207
MRO::Compat 0 0.15
namespace::autoclean 0 0.31
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.54
HTTP::Request::Common 0 7.00
HTTP::Status 0 7.00
lib 0 0.65
strict 0 1.13
Test::More 0 1.302204
warnings 0 1.70
configure_requires:
Module Need Have
------------------------------ ---- --------
ExtUtils::MakeMaker 0 7.70
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
PATH = /home/sand/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/perl/bin:/usr/X11/bin
PERL = /tmp/basesmoker-reloperl-y90Y/bin/perl
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 2383
PERL5_CPAN_IS_RUNNING = 2383
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 = /tmp/basesmoker-reloperl-y90Y/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.38
CPAN::Meta 2.150010
Cwd 3.92
ExtUtils::CBuilder 0.280240
ExtUtils::Command 7.70
ExtUtils::Install 2.22
ExtUtils::MakeMaker 7.70
ExtUtils::Manifest 1.75
ExtUtils::ParseXS 3.55
File::Spec 3.93
JSON 4.10
JSON::PP 4.16
Module::Build 0.4234
Module::Signature 0.89
Parse::CPAN::Meta 2.150010
Test2 1.302204
Test::Harness 3.50
Test::More 1.302204
YAML 1.31
YAML::Syck 1.34
version 0.9933
--
Summary of my perl5 (revision 5 version 41 subversion 5) configuration:
Commit id: 49feb78d039f9c146d7060a6b02af643e5b21489
Platform:
osname=linux
osvers=5.4.0-193-generic
archname=x86_64-linux-thread-multi
uname='linux k93focal 5.4.0-193-generic #213-ubuntu smp fri aug 2 19:14:16 utc 2024 x86_64 x86_64 x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.41.5/d119 -Dmyhostname=k93focal -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 -Duseithreads -Uuselongdouble -DEBUGGING=both'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='cc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
optimize='-O2 -g'
cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='9.4.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='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib /usr/lib64
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.31.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.31'
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_LONG_DOUBLE
HAS_STRTOLD
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_SIPHASH13
PERL_HASH_USE_SBOX32
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_TRACK_MEMPOOL
PERL_USE_DEVEL
PERL_USE_SAFE_PUTENV
USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
USE_THREAD_SAFE_LOCALE
Built under linux
Compiled at Oct 21 2024 06:42:58
%ENV:
PERL="/tmp/basesmoker-reloperl-y90Y/bin/perl"
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="2383"
PERL5_CPAN_IS_RUNNING="2383"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.41.5/d119/lib/site_perl/5.41.5/x86_64-linux-thread-multi
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.41.5/d119/lib/site_perl/5.41.5
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.41.5/d119/lib/5.41.5/x86_64-linux-thread-multi
/home/sand/src/perl/repoperls/installed-perls/host/k93focal/v5.41.5/d119/lib/5.41.5
.