Skip to content
Commit 8b1e071d authored by kohsuke's avatar kohsuke
Browse files

I find it odd that the response of an AJAX request is eval-ed automatically...

I find it odd that the response of an AJAX request is eval-ed automatically just because it has a specific content type.
Given the side effect of eval(), I feel this should be triggered by the presence of an additional header or something.

See http://dev.rubyonrails.org/ticket/5742 for a related discussion. The lack of '('+text+')' triggered this investigation.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35346 71c3de6d-444a-0410-be80-ed276b4c234a
parent 106d95a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment