Skip to content
Commit 03858629 authored by networkException's avatar networkException Committed by derf
Browse files

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.
parent 7b4a411c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment