mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 22:38:49 +00:00
VVM: fix request URL encoding
This commit is contained in:
parent
2aab0a8866
commit
4b68022d45
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
package de.schildbach.pte;
|
package de.schildbach.pte;
|
||||||
|
|
||||||
|
import com.google.common.base.Charsets;
|
||||||
import com.google.common.base.Strings;
|
import com.google.common.base.Strings;
|
||||||
import de.schildbach.pte.dto.Location;
|
import de.schildbach.pte.dto.Location;
|
||||||
import de.schildbach.pte.dto.LocationType;
|
import de.schildbach.pte.dto.LocationType;
|
||||||
|
@ -46,7 +47,7 @@ public class VvmProvider extends AbstractEfaProvider {
|
||||||
|
|
||||||
public VvmProvider() {
|
public VvmProvider() {
|
||||||
super(NetworkId.VVM, API_BASE, DEPARTURE_MONITOR_ENDPOINT, TRIP_ENDPOINT, null, null);
|
super(NetworkId.VVM, API_BASE, DEPARTURE_MONITOR_ENDPOINT, TRIP_ENDPOINT, null, null);
|
||||||
|
setRequestUrlEncoding(Charsets.UTF_8);
|
||||||
setNeedsSpEncId(true);
|
setNeedsSpEncId(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue