# Media Library (elfinder) Removes Underscores in File Name

**URL:** <https://forum.mautic.org/t/media-library-elfinder-removes-underscores-in-file-name/35319>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [March 20, 2025, 8:20am UTC](https://forum.mautic.org/t/media-library-elfinder-removes-underscores-in-file-name/35319 "2025-03-20T08:20:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![omert](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/omert/32/10732_2.png) [@omert](https://forum.mautic.org/u/omert)\
**Post date:** [March 20, 2025, 8:20am UTC](https://forum.mautic.org/t/media-library-elfinder-removes-underscores-in-file-name/35319/1 "2025-03-20T08:20:05Z")

</div>

**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:
