You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rails guide and documentation here and here mentions that cross-site (or remote) <script> tags are blocked to get a javascript response. I think the messaging can be made better.
The blocking happens only for JS responses generated by a controller and doesn't apply to static files
The blocking happens irrespective of whether the request was a remote <script> or made through the same domain. Any JS response generated by a controller for a non XHR request, by default, even from the same origin, will get blocked.
The text was updated successfully, but these errors were encountered:
Rails guide and documentation here and here mentions that cross-site (or remote)
<script>
tags are blocked to get a javascript response. I think the messaging can be made better.<script>
or made through the same domain. Any JS response generated by a controller for a non XHR request, by default, even from the same origin, will get blocked.The text was updated successfully, but these errors were encountered: