Percent sign in route fail to detect

Hi all,

I have a problem with a link which include the following %C2%AD%C2%AD%C2%AD%C2%AD%C2%AD characters. My rule in route is failing to catch those characters. The link is something like this: http://myserver.local/learn/bla-blallal-blalldl-and-dhhdh-wer-werwer-%C2%AD%C2%AD%C2%AD%C2%AD%C2%ADthat-rtyfgh-fghfghfg

$router->add( '/learn/{page:([a-zA-Z0-9_-]+)}', [ 'controller' => 'page', 'action' => 'index', 'page' => 1 ] );



80.9k

https://regex101.com/r/CzalFH/1

seems like your regex just doesnt match. You probably want to encode special signs, urls are pretentious