I have a search input for customers. The customers have an address, and some of the addresses contain the number sign, for example #51 Scout Fuentebella
. I included address in my search.
My route:
Route::get('customer/search/{input}', 'CustomerController@search');
Whenever I search for their address like localhost:8000/customer/search/#51 Sc, I get the following error:
NotFoundHttpException in RouteCollection.php line 161: