mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 17:28:49 +00:00
MVG: Fix request URL encoding.
This commit is contained in:
parent
99cb5d3aaf
commit
bcc43a3b45
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,8 @@
|
|||
|
||||
package de.schildbach.pte;
|
||||
|
||||
import com.google.common.base.Charsets;
|
||||
|
||||
import de.schildbach.pte.dto.Position;
|
||||
|
||||
import okhttp3.HttpUrl;
|
||||
|
@ -29,6 +31,7 @@ public class MvgProvider extends AbstractEfaProvider {
|
|||
|
||||
public MvgProvider() {
|
||||
super(NetworkId.MVG, API_BASE);
|
||||
setRequestUrlEncoding(Charsets.UTF_8);
|
||||
setSessionCookieName("SIDefa80");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue