Wildcard redirects behave differently from netlify and render

I’m migrating a project over from Netlify, and it seems that the application of redirect rules behaves differently for the case where you are using a wildcard redirect, and the url you are redirecting to also matches the pattern that caused the redirect. For example:

/programme/66742/* /programme/66742/stormy-weather

Here I’m wanting to normalise the slug at the end of the url regardless of what it is.

Here other SSG hosts do the sensible thing and ignore the rule if it’s redirecting to the same URL. Cloudflare Pages on the other hand creates an infinitely loop of redirects.

Is this something that could be fixed? Or is there a workaround?