cancel
Showing results for 
Search instead for 
Did you mean: 

Classic quiz multiple choice answers don't use relative links

Classic quiz multiple choice answers don't use relative links

Canvas white logo

 

Known issues indicate notable behaviors that has been escalated to the Canvas engineering team. Known issues are not a guarantee for an immediate resolution.

This document is for informational purposes only and does not replace the Support process. If you are encountering the behavior outlined in this document, please ensure you have submitted a Support case (per your institution's escalation process) so Canvas Support can adequately gauge the overall customer impact and prioritize appropriately.
Description

 

  • Multiple choice answers in classic quiz attempts don't display relative links. This causes images to break or otherwise forces users to log in again when the link used was to the institution's alternate domain.

  • The console generates a "..blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." message for images.

Expected Behavior


Make the link relative to the current domain being used.

Workaround


Edit the answer and remove the domain from the link.

Steps to Reproduce

 

Prerequisites: Have an instance that has more than one domain

  1. Create a quiz

  2. Add a multiple choice type question

  3. For an answer, upload and add an image using the RCE

  4. Save and publish the quiz

  5. As a student log into Canvas using the other domain

  6. Navigate to the quiz and attempt

  7. Notice the image on the answer from step 3 is broken

 

Additional Info


LS-2054

Labels (2)
Labels