uvdesk / core-framework

UVDesk Community Helpdesk Core Framework Bundle providing the core essential functionalities and integration tools to easily integrate any other community helpdesk packages.
https://www.uvdesk.com
MIT License
60 stars 55 forks source link

In Agent and customer option here uploaded .php extension file in image option #633

Open komal-sh-27 opened 1 year ago

komal-sh-27 commented 1 year ago

Description
In Agent and customer option here uploaded .php extension file in image option

How to reproduce
Step 1: Click on agent and customer option, now uploaded the file of any jpg file added a .php extension in jpg image file so this file uploaded instead of showing a warning message:

image

Step 2: Also, added in same profile section on the admin and customer end here image uploaded successfully instead of showing a warning like this:

image

Possible Solution
If we have uploaded image or file with .php extension so here should be shown a warning instead of saved successfully.