]> cat aescling's git repositories - mastodon.git/commit
Add Content-Type header on throttled response to fix mojibake (#4558)
authorunarist <m.unarist@gmail.com>
Tue, 8 Aug 2017 13:47:35 +0000 (22:47 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 8 Aug 2017 13:47:35 +0000 (15:47 +0200)
commitb42c018bb8f86e27af43d84bf558d669e18def3b
treef64ffcde43458b11ac724b0e86c780438313134b
parentc9fd6f386c5ae0938f1f9c2d1134508e66231e23
Add Content-Type header on throttled response to fix mojibake (#4558)

application/json only allows Unicode, so this prevents from wrong charset detection.
config/initializers/rack_attack.rb