mardi 27 août 2019

Laravel redirect to new url playing with url parameters

Laravel is doing something unsual. I have a url as follow:

https://www.sample-site.com/api/something/abcsafety/192

Laravel redirects to following url:

https://www.sample-site.com/api/something/abcsaf/safety

If I pass anything else in parameter it works. For example:

https://www.sample-site.com/api/something/abcsafe/192

is working fine.

I have already checked middleware, controller, app service provider. It still redirects after adding die statement in all files.

It redirects and show my die statement result.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire