Files
gitlabhq/app/controllers
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
..