gitlab-org--gitlab-foss/app
Stan Hu 79a829a037 Return a blank JSON response for a missing .js file to prevent Rails CSRF errors
The default 404 handler would return the Content-Type format based on the
given format extension. This would cause the Rails CSRF protection to flag an
error, since the .js extension gets mapped to text/javascript format.

Closes #40771
2018-01-23 22:24:30 -08:00
..
assets Merge branch 'fix-callback-alignments' into 'master' 2018-01-22 22:26:03 +00:00
controllers Return a blank JSON response for a missing .js file to prevent Rails CSRF errors 2018-01-23 22:24:30 -08:00
finders Preload ancestors for subgroups matching filter 2018-01-22 17:02:04 +01:00
helpers remove redundant forked? check 2018-01-22 15:48:31 -06:00
mailers Initial work to add notification reason to emails 2018-01-16 19:17:55 -06:00
models Merge branch '40612-cannot-change-project-visibility-from-private-even-when-owner' into 'master' 2018-01-22 22:54:24 +00:00
policies Remove unused push_code_to_protected_branches 2018-01-05 23:45:12 +08:00
presenters Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3' 2018-01-16 17:04:51 -08:00
serializers Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3' 2018-01-16 17:04:51 -08:00
services Merge branch '41532-email-reason' into 'master' 2018-01-19 11:01:46 +00:00
uploaders Support uploads for groups 2017-12-07 12:27:52 +01:00
validators Second iteration of Move Kubernetes from service to Cluster page 2017-12-05 12:00:02 +00:00
views Merge branch 'feat/add-section-headers-to-plus-button-dropdown' into 'master' 2018-01-22 15:21:36 +00:00
workers Fork now protects default branch on completion 2018-01-15 16:03:25 +00:00