How to do 301 redirects for links with spaces?

I’m migrating a site to webflow. Some of the blog posts have spaces and other characters that arent allowed on urls.

if the url is “website.com/some name” and I want to direct it to “website.com/some-name” then what should I put in the “old path?”

Webflow doesn’t let me type a space in the old path