mercredi 3 janvier 2018

Laravel slashes omitted on a URL

I am working with password resets in Laravel.

When users receive a password reset link, it's something like this

http://ift.tt/2CLBOu7

But when they click this link, it's converted to

mywebsite.compassword/reset/token

After the website's domain the slash / is always omitted. I am not sure what is causing this issue.

This is the route setup while getting the password reset form

Route::get('/reset/password/business/{token}', 'PasswordResetController@companygetreset')->name('password.reset');

Not only for password reset, but same things happens lots of other routes.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire