You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, because of this, the 'figures/api/courses/general/' URL path in Figures is not safe. It should probably be changed to something like figures/api/courses-general/
The result on my test site is that the info taken from CourseOverview like the course name and start date don't appear in the Single Course view.
The text was updated successfully, but these errors were encountered:
/courses/general/course-v1... and /courses/detail/course-v1...
will be matched by Open edX request util and other course id REGEX's
as a course with id of general/course-v1 etc. and result in 500 errors
particulary in some middlewares.
Addresses #361
/courses/general/course-v1... and /courses/detail/course-v1...
will be matched by Open edX request util and other course id REGEX's
as a course with id of general/course-v1 etc. and result in 500 errors
particulary in some middlewares.
Addresses #361
/courses/general/course-v1... and /courses/detail/course-v1...
will be matched by Open edX request util and other course id REGEX's
as a course with id of general/course-v1 etc. and result in 500 errors
particulary in some middlewares.
Addresses #361
/courses/general/course-v1... and /courses/detail/course-v1...
will be matched by Open edX request util and other course id REGEX's
as a course with id of general/course-v1 etc. and result in 500 errors
particulary in some middlewares.
Addresses #361
I am seeing 500 errors calling /courses/general/course-v1:... for the courses-general API
The API call isn't even getting processed by the DRF view, as it errors out in middlewares which interpret
/general/course-v1:...
as a course id.For example, this traceback:
Track middleware uses
COURSE_REGEX
defined in util.request (Hawthorn) or request_utils (Juniper+) to check for a match, yielding:Unfortunately, because of this, the 'figures/api/courses/general/' URL path in Figures is not safe. It should probably be changed to something like figures/api/courses-general/
The result on my test site is that the info taken from CourseOverview like the course name and start date don't appear in the Single Course view.
The text was updated successfully, but these errors were encountered: