Skip to content

Unable to download .docx files from Grading #7854

@danjjohnson

Description

@danjjohnson

Steps to Reproduce

  1. Create a lesson with a quiz that contains a file upload question.
  2. Take the quiz and upload a .docx (or .doc) file
  3. Go to grading and try to download the file by clicking the link.

What I Expected

The file download dialog box should open.

What Happened Instead

Nothing happens. Console shows the following errors:

JQMIGRATE: Migrate is installed, version 3.4.1
about:srcdoc:1 Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.Understand this error
about:srcdoc:1 Blocked script execution in 'about:srcdoc' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.Understand this error
about:srcdoc:1 Blocked opening 'https://example.com/wp-content/uploads/2025/09/ab5194b_lorem-Doc-drive-file.docx' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.Understand this error
about:srcdoc:1 Blocked opening 'https://example.com/wp-content/uploads/2025/09/ab5194b_lorem-Doc-drive-file.docx' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.Understand this error

PHP / WordPress / Sensei LMS version

Sensei Pro (WC Paid Courses): by Automattic – 4.25.1.1.24.4

Browser / OS version

Chrome MacOS

Context / Source

10304447-zd-a8c

Metadata

Metadata

Assignees

No one assigned

    Labels

    Customer ReportIssues or PRs that were reported via Happiness. Previously known as "Happiness Request".[Status] Needs TriageIssue needs to be triaged[Type] Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions