wikiedudashboard

https://github.com/wikieducationfoundation/wikiedudashboard

Ruby

Wiki Education Foundation's Wikipedia course dashboard system

CoursesController#set_endpoint

Show responds to multiple endpoints to provide different sets of json data
about a course. Checking for a valid endpoint prevents an arbitrary render
vulnerability.

Source | Google | Stack overflow

Edit

git clone [email protected]:wikieducationfoundation/wikiedudashboard.git

cd wikiedudashboard

open app/controllers/courses_controller.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-CoursesController-set_endpoint-for-pr


# Commit to git

git add app/controllers/courses_controller.rbgit commit -m "better docs for CoursesController#set_endpoint"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-CoursesController-set_endpoint-for-pr

hub pull-request


# Celebrate!