Thanks for reporting @Lutz.
Fixed in
https://github.com/discourse/discourse/commit/5cf75c67dff5803288642ca2606095b6ca8895e2