php - Trouble sending '@' in URL parameter in Laravel 5 -


heyy!! have laravel application, , route parameter giving me troubles, defined route like:

route::get('getfile/{action}/{id}',array('as'=>'getfile','uses'=>'mycontroller@mymethod')); 

so, parameter {id} problematic one, structure of id like:

someinteger@x.y 

sending in way gives file not found error @ guess...so before send code make: urlencode($id) , changes code structure:

someinteger%40x.y

but still file not found error so, checking delete % character requested url , in way error not showed, need sended completely.so should send kind of characters correctly in url? it's trying go url


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -