]> cat aescling's git repositories - mastodon.git/commit
Prevent use locale with empty string (#18543)
authorJeong Arm <kjwonmail@gmail.com>
Sat, 28 May 2022 12:32:08 +0000 (21:32 +0900)
committeraescling <aescling+gitlab@cat.family>
Sun, 28 Aug 2022 21:13:28 +0000 (17:13 -0400)
commit1b0876b4a4efb78849f96eda762e48f85e9b6fa1
tree99ce1f4c0d5f68fd8cba0ac01e1c2a24cf3f858e
parentce62821de0f4dd937b9b96353cb22c98efa118cc
Prevent use locale with empty string (#18543)

Somehow user's locale could be an empty string, And empty string itself
are treated as true value.
app/mailers/user_mailer.rb
app/workers/move_worker.rb
app/workers/web/push_notification_worker.rb