How to ignore %2F as / in urlencoded parameters

Hello,

So I’ve my route with parameters. One is a text from a form and you can add a url so you can end with a url like that:
mydomain.com/https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D487VVLOnvdw/mytoken

So slim think I’m looking for this page:
/https://www.youtube.com/watch?v=487VVLOnvdw/mytoken

but I’m not.

How can I correct it ? Thanks in advance

Ok I got it.
It’s not a slim error you have to add this one the vhost section 0:
AllowEncodedSlashes On