title: Best way to pass url as parameter to route
body: <p>I am trying to pass any full url in as parameter to route, but the slash seems to mess everything up. If a route is passed in encoded, the route seems to decode it, is there a way to stop this or encode the url again at route level?</p>
  
  <pre><code>Route::get('add/{title?}/{url?}', 'HomeController@add')-&gt;name('add');
  </code></pre>
  
  <p>also i have tired</p>
  
  <pre><code>Route::get('add/{title?}/{url?}', 'HomeController@add_')-&gt;where('url', '(.*)')-&gt;name('add_popup');
  </code></pre>
  
  <p>but if it comes across question mark in the url it will drop anything after the question mark.</p>