DING: Fix request URL encoding.

This commit is contained in:
Andreas Schildbach 2018-12-05 01:49:48 +01:00
parent d750b2e044
commit 99cb5d3aaf

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
@ -17,6 +17,8 @@
package de.schildbach.pte; package de.schildbach.pte;
import com.google.common.base.Charsets;
import okhttp3.HttpUrl; import okhttp3.HttpUrl;
/** /**
@ -28,5 +30,6 @@ public class DingProvider extends AbstractEfaProvider {
public DingProvider() { public DingProvider() {
super(NetworkId.DING, API_BASE); super(NetworkId.DING, API_BASE);
setRequestUrlEncoding(Charsets.UTF_8);
} }
} }