BigW Consortium Gitlab
If you upload a file with a .js extension, Rails' cross-origin JavaScript protection will prevent a user from downloading the file with a 422 error. Setting the content-type to `text/plain` will allow the user to download the file as a plaintext file. Closes #45826
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
checks_collaboration_spec.rb | Loading commit data... | |
continue_params_spec.rb | Loading commit data... | |
controller_with_cross_project_access_check_spec.rb | Loading commit data... | |
group_tree_spec.rb | Loading commit data... | |
internal_redirect_spec.rb | Loading commit data... | |
issuable_collections_spec.rb | Loading commit data... | |
lfs_request_spec.rb | Loading commit data... | |
send_file_upload_spec.rb | Loading commit data... |