mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 17:10:30 +00:00
MVV: Fix request URL encoding.
This commit is contained in:
parent
66409f80e7
commit
c94306975f
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,8 @@ import java.util.regex.Pattern;
|
|||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import com.google.common.base.Charsets;
|
||||
|
||||
import de.schildbach.pte.dto.Line;
|
||||
import de.schildbach.pte.dto.Point;
|
||||
import de.schildbach.pte.dto.Position;
|
||||
|
@ -46,6 +48,7 @@ public class MvvProvider extends AbstractEfaProvider {
|
|||
public MvvProvider(final HttpUrl apiBase) {
|
||||
super(NetworkId.MVV, apiBase);
|
||||
setIncludeRegionId(false);
|
||||
setRequestUrlEncoding(Charsets.UTF_8);
|
||||
setStyles(STYLES);
|
||||
setSessionCookieName("SIDefaalt"); // SIDefa
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue