-
Notifications
You must be signed in to change notification settings - Fork 34
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
If the referrer url is longer than 255 characters, creating a new play will fail #1418
Labels
Awaiting Review
Requires a reviewer to test and review code
Beginner Friendly
This would be a good issue to cut your teeth on
Bug
Comments
iturgeon
added
Bug
Beginner Friendly
This would be a good issue to cut your teeth on
Awaiting Review
Requires a reviewer to test and review code
labels
Nov 26, 2022
iturgeon
added a commit
to iturgeon/Materia
that referenced
this issue
Nov 27, 2022
* 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
iturgeon
added a commit
to iturgeon/Materia
that referenced
this issue
Dec 27, 2022
* 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
iturgeon
added a commit
to iturgeon/Materia
that referenced
this issue
Dec 28, 2022
* 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
iturgeon
added a commit
to iturgeon/Materia
that referenced
this issue
Dec 31, 2022
* Change var to const for js constants being injected into the page from the server * Allows the before_play_start event to determine if the lti content item picker should be displayed * Move picker display function into a common controller * Add an api method that’ll validate and sign a content item selection lti request * injects LTI_MESSAGE_TYPE and LTI_KEY js constants into the picker page template * LTILaunch gains a method to load the lti config that is associated with a lti key * Updated a few strings that specifically mention canvas * Moves all classes, tests, migrations, and configs from fuel/app/modules/lti into fuel/app * 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 * Overhaul lit test provider a bit - mostly to simplify and use lessons * fix code sniff errors * add deps to docker image * attempt to fix yarn cache issue * Changes docker build process to ensure the built image has admin:make_paths_writable run to avoid having to run it every startup
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Awaiting Review
Requires a reviewer to test and review code
Beginner Friendly
This would be a good issue to cut your teeth on
Bug
I discovered this due to a long referrer url filled with a bunch of get params. When the play is created, it looks up the referrer and inserts it into the database. If it's extra long (longer than the db column limits), the insert will fail.
Suggest just truncating the referrer to 255, though increasing the length of the column is a possibility too.
The text was updated successfully, but these errors were encountered: