Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error with certain LTI configurations (Redirect URIs) #2416

Open
Dantemss opened this issue Oct 2, 2024 · 0 comments
Open

Comments

@Dantemss
Copy link

Dantemss commented Oct 2, 2024

Summary:

If any of the Redirect URIs in an LTI integration has a ? in it, and you try to launch a url with no querystring and no ?, Canvas blows up on this line: https://github.com/instructure/canvas-lms/blame/master/app/controllers/lti/ims/authentication_controller.rb#L233 because it tries to feed nil into CGI.parse()

Steps to reproduce:

  1. Create LTI integration and make sure at least one of the Redirect URIs has a ?
  2. Do an LTI launch with a redirect_uri with no ? and no querystring
  3. Receive Internal Server Error from Canvas

Expected behavior:

Canvas should execute the launch successfully, assuming everything is configured properly.

Actual behavior:

Canvas displays an Internal Server Error screen.

Additional notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant