Fixes PLAT-2905
Test Plan:
- Regression test LTI 2 registration and
reregistraiton.
- Verify that the registration endpoint is now post
only (i.e. /courses/113/lti/
tool_proxy_registration?tool_consumer_url=https://bad.site.com)
- Verify that when posting to the endpoint the
`tool_consumer_url` parameter may not use the
JavaScript protocol.
Change-Id: Ie61b9293083a65a705db5268f695a2874be35a3f
Reviewed-on: https://gerrit.instructure.com/131981
Tested-by: Jenkins
Reviewed-by: Andrew Butterfield <abutterfield@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>