File extension not validated when uploading translation file via web

Description

When we update translation for any project version , it allows us to upload any type of file and it gives unexcepted error after upload, it should be handled correctly while uploding

Steps to Reproduce:

  • Login to zanata.

  • Go to dashboard.

  • Select project - > version

  • Select language and if there is already document there

  • click on down arrow to update the translation

  • Select any file

  • observe the behavior

Actual Result:

  • Unexpected error while update translation file

Expected Result:

  • file validation should be handed while update translation

Note:

  • Attached screen captured for more info

Environment

None

Attachments

2

Activity

Show:

Details

Assignee

Reporter

Tested Version/s

Affects versions

Priority

More fields

Created 28 March 2018 at 06:13
Updated 28 March 2018 at 07:34