Catalyst-Plugin-CheckFileUploadTypes v0.20 Perl 5 v5.39.7 x86_64-linux-thread-multi-ld
- Status
- Pass
- From
- Andreas J. König (ANDK)
- Dist
-
Catalyst-Plugin-CheckFileUploadTypes v0.20
- Platform
- Perl 5 v5.39.7 x86_64-linux-thread-multi-ld
- Date
- 2024-02-05 08:31:11
- ID
- eac04906-c400-11ee-b96c-1f7750a28c02
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.39.7, 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:
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.39.7/8854/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-2207-IInaUR/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 |
+----------------------+--------------------------------------+--------------+
| /expect_image | TestApp::Controller::Root | expect_image |
| /expect_any | TestApp::Controller::Root | expect_any |
| /index | TestApp::Controller::Root | index |
| /expect_text | TestApp::Controller::Root | expect_text |
'----------------------+--------------------------------------+--------------'
[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) [2472317] [Mon Feb 5 09:30:41 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.003954s (252.908/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /index | 0.000287s |
'------------------------------------------------------------+-----------'
[info] *** Request 2 (2.000/s) [2472317] [Mon Feb 5 09:30:41 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-IInaUR/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.012794s (78.162/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_any | 0.000092s |
'------------------------------------------------------------+-----------'
[info] *** Request 3 (3.000/s) [2472317] [Mon Feb 5 09:30:41 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.006763s (147.863/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_image | 0.000092s |
'------------------------------------------------------------+-----------'
[info] *** Request 4 (4.000/s) [2472317] [Mon Feb 5 09:30:41 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.008039s (124.394/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 5 (5.000/s) [2472317] [Mon Feb 5 09:30:41 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.011995s (83.368/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 6 (6.000/s) [2472317] [Mon Feb 5 09:30:41 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.004498s (222.321/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 7 (7.000/s) [2472317] [Mon Feb 5 09:30:41 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.004286s (233.318/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
'------------------------------------------------------------+-----------'
[info] *** Request 8 (8.000/s) [2472317] [Mon Feb 5 09:30:41 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.005738s (174.277/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /expect_text | 0.000103s |
'------------------------------------------------------------+-----------'
[info] *** Request 9 (9.000/s) [2472317] [Mon Feb 5 09:30:41 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.002229s (448.632/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.04 usr 0.02 sys + 0.91 cusr 0.15 csys = 1.12 CPU)
Result: PASS
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
------------------------------ ---- --------
Catalyst::ClassData 0 0
Data::Dumper 0 2.189
Data::Printer 0 1.002001
File::LibMagic 0 1.23
Moose 0 2.2207
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.54
HTTP::Request::Common 0 6.45
HTTP::Status 0 6.45
lib 0 0.65
strict 0 1.13
Test::More 0 1.302198
warnings 0 1.67
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 = 2463911
PERL5_CPAN_IS_RUNNING = 2463911
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.39.7/8854/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.90
ExtUtils::CBuilder 0.280240
ExtUtils::Command 7.70
ExtUtils::Install 2.22
ExtUtils::MakeMaker 7.70
ExtUtils::Manifest 1.75
ExtUtils::ParseXS 3.51
File::Spec 3.90
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.48
Test::More 1.302198
YAML 1.31
YAML::Syck 1.34
version 0.9930
--
Summary of my perl5 (revision 5 version 39 subversion 7) configuration:
Commit id: 96559478fdc3f2fe9c51cad02ebbae0c950b7b68
Platform:
osname=linux
osvers=6.5.0-5-amd64
archname=x86_64-linux-thread-multi-ld
uname='linux k93msid 6.5.0-5-amd64 #1 smp preempt_dynamic debian 6.5.13-1 (2023-11-29) x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.39.7/8854 -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 -Duseithreads -Duselongdouble -DEBUGGING=-g'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=define
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='cc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -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='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='13.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/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=/lib/x86_64-linux-gnu/libc.so.6
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.37'
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:
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_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_LONG_DOUBLE
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
USE_THREAD_SAFE_LOCALE
Built under linux
Compiled at Jan 20 2024 16:24:09
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="2463911"
PERL5_CPAN_IS_RUNNING="2463911"
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.39.7/8854/lib/site_perl/5.39.7/x86_64-linux-thread-multi-ld
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.39.7/8854/lib/site_perl/5.39.7
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.39.7/8854/lib/5.39.7/x86_64-linux-thread-multi-ld
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.39.7/8854/lib/5.39.7
.