Jump to content

błędny URL po ?back=


PiotrekJ
 Share

Recommended Posts

Witam,

Męczę się trochę z rozwiązaniem tematu z błędnie działającym URL w momencie wejścia na stronę logowania.

Za każdym razem gdy po wejściu na stronę logowania , kiedy dodaje się parametr ?=back jest on błędny i zawiera błędne enkodowanie. Dla przykładu:

https://mojsklep.pl/logowanie?back=https%3A%2F%2Fmojsklep.pl%2F (gdzie oczywiście %3A%2F%2 to ://  - wejście ze strony głównej)

jest to tyle irytujące , że po logowaniu wracamy na stronę:

https://mojsklep.pl/https%3A%2F%2Fmojsklep.pl%2F i dostaje 404 

Szukałem w FrontController.php i próbowałem zrobić override klasy, bez skutku - może źle to robię (meritum tej klasy to podstawienie zniennej $back na cokolwiek - nie działa, chyba nie tak to się robi).

Czy ktoś miał podobny problem? 

Wszystko inne działa jak trzeba. 

Prestashop 8.0.1, php.8.1, ngiinx, mariadb. 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More