marudor / bahn.expert

https://bahn.expert
MIT License
499 stars 46 forks source link

Cookies in URL arent loaded into application #900

Closed Intubun closed 2 months ago

Intubun commented 3 months ago

Describe the bug When the website is loaded with all cookies in the URL. (for example when automatically loaded by fullpageos) the cookies arent loaded into the actual application. The only thing that I can confirm still works through the URL is noHeader. However more importantly cookies like autoUpdate arent working anymore through the URL. For example if a RPi is automatically loading the site with the autoUpdate in the URL, the parameter isnt set anymore.

To Reproduce Steps to reproduce the behavior:

  1. Working example: https://bahn.expert/FF?noHeader=1
  2. Broken example: https://bahn.expert/FF?autoUpdate=42

Expected behavior It is expected, that cookies can be set via the URL

Screenshots -- No Screenshots --

Desktop (please complete the following information):

Smartphone (please complete the following information): -- not tested --

Intubun commented 3 months ago

I should also note, when the cookie is edited in the F12 menu in chrome, the app is actually updating the value after a reloading of the site

Intubun commented 3 months ago

If I would have to guess it has to do with PR #896 , since that was around the time it stopped working.