Issue
-
Steps to reproduce:
1. Navigate to Commerce > Products.
2. Create any simple products.
3. Navigate to media.
4. Take any PDF and change its extension to "png".
5. Make sure png is accepted in the image upload.
Actual Result: The image is getting uploaded.
Expected Result: PDF files should not be allowed. It should check the file's proper type (mime type) and not just the extension.
Environment
- Liferay DXP 7.4
- Commerce 4.0
Resolution
- The observed behavior is a known Liferay DXP bug which has been addressed in Liferay DXP 7.4 Update 82.
Additional Information
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar