#3591585: Canvas editor does not support language-prefixed URLs, breaks when accessed as /[langcode]/canvas/...

AI-Generated: Yes (Used Github copilot to create test)

Testing instructions

  • Enable canvas and language modules.
  • Navigate to admin/config/regional/language and add the Spanish language.
  • Go to admin/config/regional/language/detection/url and configure URL-based language detection (e.g., /es/ for Spanish)
  • Navigate to /es/canvas/ or any other canvas URL prefixed with the language code and confirm that the browser is successfully redirected to the bare, non-prefixed URL (/canvas/) and the page loads successfully without breaking the UI/generating a 404 error.
Edited by Kunal Sachdev

Merge request reports

Loading