mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-10 10:58:47 +00:00
STV: Fix request URL encoding.
This commit is contained in:
parent
624e0c4ebe
commit
ca7ed5a722
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@ import java.util.EnumSet;
|
|||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import com.google.common.base.Charsets;
|
||||
import com.google.common.base.Strings;
|
||||
|
||||
import de.schildbach.pte.dto.Location;
|
||||
|
@ -46,7 +47,7 @@ public class StvProvider extends AbstractEfaProvider {
|
|||
|
||||
public StvProvider() {
|
||||
super(NetworkId.STV, API_BASE);
|
||||
|
||||
setRequestUrlEncoding(Charsets.UTF_8);
|
||||
setIncludeRegionId(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue