Media Library (elfinder) Removes Underscores in File Name

Your software
My Mautic version is: 5.2.3
My PHP version is: 8.2
My Database type and version is: MySQL 8.x

Your problem
My problem is:
When I drag and drop an image file to the media library (elfinder), it automatically removes the underscores in the filename.
This was not always the case.
I don’t want it to do that.
I want it to keep the filename as is.
Is there a way to fix that?
A configuration somewhere?
A workaround?

These errors are showing in the log:

Steps I have tried to fix the problem: