Gerhard Schlager caa0247f5c
FIX: Incorrect currentUser could be cached for requests with API key (#17279)
This happened when a middleware accessed the `currentUser` before a controller had a chance to populate the `action_dispatch.request.path_parameters` env variable. In that case Discourse would always cache `nil` as `currentUser`.
2022-07-01 10:18:24 +02:00
..
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-06-30 13:13:25 -03:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2021-10-27 11:39:28 +03:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-03-03 09:24:58 +08:00
2021-05-31 10:22:50 +08:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-04-06 17:10:51 +02:00
2022-04-28 11:51:03 +02:00
2022-04-28 11:51:03 +02:00
2022-06-24 10:28:05 +08:00
2022-04-28 11:51:03 +02:00
2021-06-21 11:06:58 +08:00
2020-07-21 15:55:03 +08:00