mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 08:10:46 +00:00
AVV: Fix request URL encoding.
This commit is contained in:
parent
cb9cbf978e
commit
624e0c4ebe
1 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,8 @@ import java.util.Map;
|
||||||
|
|
||||||
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.Location;
|
import de.schildbach.pte.dto.Location;
|
||||||
import de.schildbach.pte.dto.Product;
|
import de.schildbach.pte.dto.Product;
|
||||||
|
@ -39,8 +41,8 @@ public class AvvProvider extends AbstractEfaProvider {
|
||||||
|
|
||||||
public AvvProvider() {
|
public AvvProvider() {
|
||||||
super(NetworkId.AVV, API_BASE);
|
super(NetworkId.AVV, API_BASE);
|
||||||
|
|
||||||
setUseRouteIndexAsTripId(false);
|
setUseRouteIndexAsTripId(false);
|
||||||
|
setRequestUrlEncoding(Charsets.UTF_8);
|
||||||
setStyles(STYLES);
|
setStyles(STYLES);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue