Describe the bug
Calling $file->move() and providing a new filename without an extension causes a failed array reference because pathinfo() does not have an extension key in the resulting array.
CodeIgniter 4 version
Latest develop
Affected module(s)
File Class, HTTPFile Class
Context
- OS: Linux
- Web server: Apache
- PHP version: 7.2