diff options
author | networkException <git@nwex.de> | 2025-04-06 16:09:35 +0200 |
---|---|---|
committer | Birte Friesel <derf@chaosdorf.de> | 2025-04-16 19:53:12 +0200 |
commit | 0385862974a55f0534f368f4ac27477a8ea37008 (patch) | |
tree | 3e98af68e3e5a0b7c19c6b3d3ce08e327df70fc7 /lib/DBInfoscreen/Helper/DBRIS.pm | |
parent | 7b4a411c128a82ef562bcbcccd773d16c56ab147 (diff) |
Fix map reloading sending malformed query parameters
This patch fixes the periodic map reloading function
sending malformed query parameters, see below:
- `dbris`
- `amp;efa`
- `amp;hafas`
The function now constructs a URLSearchParams object
and appends the serialized parameters to the url instead
of using manual string concatenation.
This would break reloads only for EFA and non ÖBB HAFAS
backends, as the `dbris` parameter was working properly
malformed and ÖBB HAFAS is the default codepath.
Diffstat (limited to 'lib/DBInfoscreen/Helper/DBRIS.pm')
0 files changed, 0 insertions, 0 deletions