
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Target branch: current production
Observed behavior
Same as for HTML5 ZIP files, when compressing the content for KPUB files, the underlying ZIP sometimes contains a folder that is creating errors for the content viewer.
Errors and logs
Observed while testing here: learningequality/kolibri#15038 (comment)
Expected behavior
We should perform the same validation and format correction for KPUB uploads, as we did for HTML5.
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Target branch: current production
Observed behavior
Same as for HTML5 ZIP files, when compressing the content for KPUB files, the underlying ZIP sometimes contains a folder that is creating errors for the content viewer.
Errors and logs
Observed while testing here: learningequality/kolibri#15038 (comment)
Expected behavior
We should perform the same validation and format correction for KPUB uploads, as we did for HTML5.