Route parameters separator questions

Thank you @Teodor.

If I may ask a quick question, I’m trying to create this url string with routing:

example.com/level1/firstname-lastname_id

In routing it looks like this:
example.com/level1/:firstname-:lastname_:id

But it appears the underscore is playing a different role and is being included in the :lastname parameter, instead of being a seperator. Can you advise how I should correctly route the above path?

It’s also strangely (with the above string) cutting off the first letter of the :firstname parameter when I look at the response in the network tab.

Community Page
Last updated: