`when I remove the extension at the end, so doing this: http://localhost:8000/img/properties/2/glvfATRS0WlUpY191EeXy0zPU60S7uJAmuZ0DK8T?w=100 I can still read the dd() of the controller:
class ImageController extends Controller
{
public function show(Request $request, string $path)
{
dd($path);
}
}`
“properties/2/glvfATRS0WlUpY191EeXy0zPU60S7uJAmuZ0DK8T” // appHttpControllersImageController.php:14 but when I put the extension back to the end, so: http://localhost:8000/img/properties/2/glvfATRS0WlUpY191EeXy0zPU60S7uJAmuZ0DK8T.jpg?w=100 I get the error: Not Found
The requested resource /img/properties/2/glvfATRS0WlUpY191EeXy0zPU60S7uJAmuZ0DK8T.jpg?w=100 was not found on this server.
I want my files to be recognized with extensions instead of having the 404 error`
Depardieu Nguetebe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.