VBL: Fix request URL encoding.

This commit is contained in:
Andreas Schildbach 2018-12-06 16:12:00 +01:00
parent ca7ed5a722
commit c60ff5e24c

View file

@ -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);
} }