forked from ucfopen/Materia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sakai and Canvas LTI. Handle long referrer urls
* overhaul lti test provider to simplify * simplify lti launch picker code when sending content selection messages to lti/assignment * fixed issue with starting plays with referrer urls longer than 255 characters fixes ucfopen#1418 * updates oauth validation in fuel by ensuring the request uri is not masked by FuelPHP
- Loading branch information
Showing
10 changed files
with
362 additions
and
518 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Materia Test as Provider</title> | ||
<meta charset="utf-8" /> | ||
<style type="text/css"></style> | ||
<?= Css::render() ?> | ||
<?= Js::render() ?> | ||
</head> | ||
<body> | ||
<p>Signed request created, sending</p> | ||
<form id="form" method="POST"> | ||
</form> | ||
</body> | ||
<script type="text/javascript"> | ||
const postData = <?= $post ?>; | ||
const formEl = document.getElementById('form'); | ||
formEl.action = postData.endpoint; | ||
|
||
for(var attr in postData) | ||
{ | ||
const i = document.createElement('input'); | ||
i.type = 'hidden'; | ||
i.name = attr; | ||
i.value = postData[attr]; | ||
formEl.appendChild(i); | ||
} | ||
|
||
formEl.submit(); | ||
</script> | ||
</html> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.