enviroCar / enviroCar-www

Website of the enviroCar project
http://envirocar.org/
Other
8 stars 10 forks source link

Back button hijacking in the main page of the site #259

Open Hashik-Donthineni opened 5 years ago

Hashik-Donthineni commented 5 years ago

Explanation: When I accessed the page "https://envirocar.org" it redirected me to the English version of the site well and good, that is to -> "https://envirocar.org/?lng=en" but when I hit back button it's going to normal home page then again to English version there by making a Back button hijacking bug

Possible Solution: Clearing the previous entry of the page using "window.location.replace('URL');" will do the trick in my opinion.

EHJ-52n commented 5 years ago

Dear @Hashik-Donthineni, thank you for writing this issue. I can not reproduce your issue in a new browser window without any browsing history. In an browser window with a history, the back button brings be back to the page that I visited before the enviroCar homepage. Hence, I need to know which browser and which version on which platform are you using? Kind regards!

Hashik-Donthineni commented 5 years ago

Hello @EHJ-52n, I am using Linux (Kubuntu 18.04) running Chrome 72. On mobile, Windows system it seems to be working fine but on my Linux system, it's not. Please let me know if you need anything more.