jeudi 20 décembre 2018

Why safari browser is redirecting given route to base URL?

My web application's complete URL route is getting redirected to base URL. I am pretty sure it has something to do with PHPSESSID cookie.

I am using laravel version Laravel 5.2, PHP 7.0, Safari 11.1, but I observed the issue is appearing irrespective of the php and safari version.

Say, I have the URL - https://example.com/user/login, when I enter this URL in safari browser, it redirects me to https://example.com, but this only for the first time. But again when I re-enter the complete URL it takes me to correct page, this is because for the second time I see PHPSESSID set in cookie. When I delete this cookie, it breaks again.

This issue only appears to happen for Safari browser but works well for all other browsers (Chrome, Mozilla, IE).

Please let me know if needed any specific details.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire