| Q | A | --- | --- | Bug? | yes | New Feature? | no | Sulu Version | 1.6.12 #### Actual Behavior When you upload a media which contains a `.` in its filename but no extension the MediaStreamController pathcleanup will fail for example: `fitness-seasons.agency--C-&-C--Rodach,-Johannes.jpg` #### Expected Behavior We should use the ExtensionGuesser from Symfony to get extension from the mimetype instead of using the pathinfo function. #### Steps to Reproduce 1. Upload a file without a extension with the following name `fitness-seasons.agency--C-&-C--Rodach,-Johannes.jpg` #### Possible Solutions Use ExtensionGuesser from symfony to get the correct extension by mimetype instead of pathinfo.