You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class SearchController extends Controller
{
public function searchItems(string $search, string $params = null)
{
dd($search);
}
}
Using the route:
/api/search/10%2F22/param1/5
Will result in the output of 10 instead of the expected 10%2F22.
Dying on $params shows 22/param1/5 confirming that the slash is being interpreted as a real one.
timjuenemann, gabrielhpugliese, Kyslik, autaut03, michaeldnelson and 24 more