mathjax-rails
mathjax-rails copied to clipboard
was giveOutStaticFile checked for security vs downloading arbitrary files?
in the rails api entry for send_file:
Be careful to sanitize the path parameter if it is coming from a web page. send_file(params[:path]) allows a malicious user to download any file on your server.
No, it is not. After checking it out I came across the problem: Issue: https://github.com/pmq20/mathjax-rails/issues/26 (I've fixed it in a PR: https://github.com/pmq20/mathjax-rails/pull/25)