I am building an API using micro application, and I am trying to pass an URL through get, it seems router couldn't accpet http url straight away.
$app->map('/agent/{url:(.*)}', [
$image,
"agentAction"
])->via(['GET']);
In action, the URL I got is https:/www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png, which is missing a slash after https, does anyone experience a case like this before?