i need to get a http address from my url in yii , but $url parameter returns wrong value for me
config:
'show/c/<id:\d+>/<url:\w+>'=>'show/c',
Controler :
public function actionC($id , $url)
{
echo $url ;
}
requested url :
http://localhost/mink/show/c/id/6/url/https://mail.google.com/mail/u/0/#inbox
$url value is "http:"
Edit : i found what was wrong with me , i have to use
http://localhost/mink/c/6/https://mail.google.com/mail/u/0/#inbox
and in url rule
'show/c/<id:\d+>/<url:.+>'=>'show/c',
it works now , ty