Skip to content

fix: prevent path traversal in development server rewrite script #16305

fix: prevent path traversal in development server rewrite script

fix: prevent path traversal in development server rewrite script #16305

Triggered via pull request September 5, 2026 21:09
Status Success
Total duration 24m 51s
Artifacts 9

test-phpunit.yml

on: pull_request
Setup PHP Version for Code Coverage
3s
Setup PHP Version for Code Coverage
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls  /  coveralls
43s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

1 error and 26 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/Test/FabricatorTest.php#L502
Took 0.5048s from 0.5000s limit to run CodeIgniter\\Test\\FabricatorTest::testUniqueSetsOutUniqueFieldValues
Others (8.2) / Sanity Tests: /tests/system/Images/ImageMagickHandlerTest.php#L314
Took 0.6328s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L989
Took 1.0557s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 0.6574s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1499s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L127
Took 3.1536s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDbWithDots
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 3.3294s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Database/Live/DbUtilsTest.php#L99
Took 0.6069s from 0.5000s limit to run CodeIgniter\\Database\\Live\\DbUtilsTest::testUtilsOptimizeDatabase
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L107
Took 1.5238s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testSeed
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 0.9507s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ConnectTest.php#L108
Took 1.0466s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L515
Took 1.0553s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testRegressWithLockingEnabled
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 1.1159s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/SaveModelTest.php#L270
Took 1.1208s from 0.5000s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewEntityWithDate
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1680
Took 1.2385s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L501
Took 1.3874s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/MigrationIntegrationTest.php#L51
Took 1.8007s from 0.5000s limit to run CodeIgniter\\Commands\\MigrationIntegrationTest::testMigrationWithRollbackHasSameNameFormat
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 1.8245s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 2.2011s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L79
Took 0.5370s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLoadsDefaultDatabaseWhenNoneSpecified
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 0.5545s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Database/Live/DbUtilsTest.php#L99
Took 0.6714s from 0.5000s limit to run CodeIgniter\\Database\\Live\\DbUtilsTest::testUtilsOptimizeDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1424
Took 0.6972s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testModifyColumnNullFalse
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L73
Took 0.7254s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateWithWithTwoNamespaces
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L48
Took 0.8751s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsCountToDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L881
Took 2.2709s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testAddColumnNull

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
134 KB
sha256:18b896955c253f42d6f36ec1e86e952ebe7106f73507d6404fc53941e2bafe48
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.6 MB
sha256:6dc6bc7f8abcbc07f66ea5aae948d1ca8e4f08542ce2f3e43b9e75efe5fdcd96
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.6 MB
sha256:13d6752fe427a8838df4682ce938988df4085cccbba393777ecb021f64735e3f
database-live-tests-php-8.2-db-OCI88.0 Expired
13.7 MB
sha256:0eefa038c84fdd189375e5270f162a319cddf5d9ba98c86d9947ae0bf2267533
database-live-tests-php-8.2-db-Postgre8.0 Expired
13.2 MB
sha256:4518456406beaf728f0864011737089a71ce3c72a1cf3d4e038029c0401bf199
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.4 MB
sha256:c4375691d7c2bbdab60aa255ebc6b23f397007a6b344c3a10e5f66eefa9454bb
database-live-tests-php-8.2-db-SQLite38.0 Expired
13.2 MB
sha256:7c0f2c874e6f13140ff0a6fff4e8ad1e20a756104cefcfecbf50ab02385ac377
sanity-tests-php-8.2-db-none Expired
32.4 MB
sha256:b445232addc7cde55a9f6af26c0ab1c7658605d28d0bbc1e33818c92c7d093f4
separate-process-tests-php-8.2-db-none Expired
3.71 MB
sha256:ff804ff7a73ac1f1cb7ec63a480b7b4ce194072ce82674412d6af35ed2d1c084