CodeGrade / bottlenose

CS assignment / grade mangement system
GNU Affero General Public License v3.0
37 stars 21 forks source link

fix unbounded redirect #187

Closed kylesferrazza closed 4 years ago

kylesferrazza commented 4 years ago

store location in session instead of query param

blerner commented 4 years ago

Probably should add a test confirming that the redirect does send you back to where you were, if login succeeds? E.g. get Course#new, redirect to root, sign in a professor, confirm you're now at Course#new?

kylesferrazza commented 4 years ago

That test is now fixed as well.