App Scanner: Invalid file type (.ipa extension changed manually) not showing error message
Description: When a file with a modified extension (e.g., renamed to .ipa but not actually a valid IPA file) is uploaded in the App Scanner, the system continues to load indefinitely instead of displaying an error. Expected behavior:
The application should validate the file format and display an appropriate error message if the uploaded file is not a genuine .ipa or .apk file.
Actual behavior:
The upload keeps loading without any error message.
Steps to reproduce:
Go to the App Scanner module.
Click on Upload File.
Select a file whose extension has been manually changed to .ipa but is not an actual IPA package.
Observe that the upload keeps loading and no validation error is shown.
Expected result: Only genuine .apk and .ipa files should be accepted. Invalid or renamed files should trigger an immediate validation error.
