Open Wampirusy opened 1 year ago
9.45.1
8.2.1
1.6
mariadb:10.1.14
VoyagerMediaController@files falls with 500 error if you have files without extension in the browsed folder:
javascript throws TypeError on files with undefined extensions:
1 & 2: get the list of files and folders, files with undefined filetypes has a default type
No response
my suggestion: https://github.com/the-control-group/voyager/pull/5733
Laravel version
9.45.1
PHP version
8.2.1
Voyager version
1.6
Database
mariadb:10.1.14
Description
VoyagerMediaController@files falls with 500 error if you have files without extension in the browsed folder:![image](https://user-images.githubusercontent.com/9334908/216587617-d191fb01-911a-4fbe-a77c-19bdaf37835f.png)
javascript throws TypeError on files with undefined extensions:
![image](https://user-images.githubusercontent.com/9334908/216589546-5128c4dd-b2e4-47a1-add6-8b31b8751c41.png)
Steps to reproduce
Expected behavior
1 & 2: get the list of files and folders, files with undefined filetypes has a default type
Screenshots
No response
Additional context
my suggestion: https://github.com/the-control-group/voyager/pull/5733