Commit 5e21f64c by George Song Committed by GitHub

Merge pull request #14585 from vagupta16/fix-course-about-invalid-course-id-upstream

Ensure that course_about uses a valid course ID
parents 9d01bd92 c235ad70
......@@ -580,12 +580,11 @@ class EnrollStaffView(View):
@ensure_csrf_cookie
@ensure_valid_course_key
@cache_if_anonymous()
def course_about(request, course_id):
"""
Display the course's about page.
Assumes the course_id is in a valid format.
"""
course_key = SlashSeparatedCourseKey.from_deprecated_string(course_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment