Problem with multiple dash (--) in middleware annotation

I want to be able to add middlewares like this namespace-test--frontend-redirect@kubernetescrd
but this raises 404 not found.
when i change that to
it works correctly (bot middlewares exists). I think there is a problem in using multiple dashes in middleware name.

Try Traefik latest v2.10