Skip to content

Fix incorrectly formatted KPUB ZIPs #6060

Description

@radinamatic

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions