sensei icon indicating copy to clipboard operation
sensei copied to clipboard

Unable to download .docx files from Grading

Open danjjohnson opened this issue 3 months ago • 2 comments

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

danjjohnson avatar Oct 02 '25 14:10 danjjohnson

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 10304447-zen

github-actions[bot] avatar Oct 02 '25 14:10 github-actions[bot]

Workaround: Right-click the link and select Save Link As.

danjjohnson avatar Oct 02 '25 14:10 danjjohnson