mitodl / ocw-studio

Open Source Courseware authoring tool
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Refactor videos/views.py to fix CodeQL Alert #2172

Closed pt2302 closed 1 month ago

pt2302 commented 2 months ago

Description/Context

As seen here, there is a CodeQL alert for Full server-side request forgery in videos/views.py.

Plan/Design

This should be fixed by refactoring the relevant functions.