mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-08 10:28:50 +00:00
VBL: Fix request URL encoding.
This commit is contained in:
parent
ca7ed5a722
commit
c60ff5e24c
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2010-2015 the original author or authors.
|
* Copyright the original author or authors.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -19,6 +19,8 @@ package de.schildbach.pte;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
|
import com.google.common.base.Charsets;
|
||||||
|
|
||||||
import de.schildbach.pte.dto.Line;
|
import de.schildbach.pte.dto.Line;
|
||||||
import de.schildbach.pte.dto.Product;
|
import de.schildbach.pte.dto.Product;
|
||||||
|
|
||||||
|
@ -32,7 +34,7 @@ public class VblProvider extends AbstractEfaProvider {
|
||||||
|
|
||||||
public VblProvider() {
|
public VblProvider() {
|
||||||
super(NetworkId.VBL, API_BASE);
|
super(NetworkId.VBL, API_BASE);
|
||||||
|
setRequestUrlEncoding(Charsets.UTF_8);
|
||||||
setUseRouteIndexAsTripId(false);
|
setUseRouteIndexAsTripId(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue