Disable URLs with Upper case letters or even better - to redirect all of them to a lower case URLs

Hello all,

we love the SW6, and would love to make it perfect from the SEO perspective,
so we make all our URLs redirecting to one canonical.

We have found a solution for the trailing slash.

But we still struggling to find a good workaround for Upper case letters, that lead to multiple URL versions.

Does anyone know a solution to disable URLs like these or even better - to redirect all of them to a lower case version:

https://www.domain.de/Category/
https://www.domain.de/CateGory/
https://www.domain.de/CategorY/
etc…

Enjoy the day!