Skip to content

Commit

Permalink
Disable read-eval for security
Browse files Browse the repository at this point in the history
  • Loading branch information
amalloy committed Apr 28, 2011
1 parent 7f770cc commit 53d802b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/foreclojure/problems.clj
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
(if-not test
(mark-completed id code)
(let [testcase (s/replace test "__" (str code))]
(if (sb sb-tester (read-string testcase))
(if (sb sb-tester (safe-read testcase))
(recur more)
(do
(session/flash-put! :code code)
Expand Down

0 comments on commit 53d802b

Please sign in to comment.