Actions
Defect #42839
closedDownloading .js files from the repository browser fails with a 422 error due to ActionController::InvalidCrossOriginRequest
Defect #42839:
Downloading .js files from the repository browser fails with a 422 error due to ActionController::InvalidCrossOriginRequest
Resolution:
Fixed
Affected version:
Description
To recreate, find a .js file, click the download in the top right

ActionController::InvalidCrossOriginRequest (Security warning: an embedded <script> tag on another site requested protected JavaScript. If you know what you're doing, go ahead and disable forgery protection on this action to permit cross-origin JavaScript embedding.): actionpack (7.2.2.1) lib/action_controller/metal/request_forgery_protection.rb:432:in `verify_same_origin_request'
Files
Actions