From 99cb5d3aaf46ec8e992ee7a6ee1841ad7e77d736 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Wed, 5 Dec 2018 01:49:48 +0100 Subject: [PATCH] DING: Fix request URL encoding. --- enabler/src/de/schildbach/pte/DingProvider.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/enabler/src/de/schildbach/pte/DingProvider.java b/enabler/src/de/schildbach/pte/DingProvider.java index 5e9d743d..4e439f9f 100644 --- a/enabler/src/de/schildbach/pte/DingProvider.java +++ b/enabler/src/de/schildbach/pte/DingProvider.java @@ -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 * it under the terms of the GNU General Public License as published by @@ -17,6 +17,8 @@ package de.schildbach.pte; +import com.google.common.base.Charsets; + import okhttp3.HttpUrl; /** @@ -28,5 +30,6 @@ public class DingProvider extends AbstractEfaProvider { public DingProvider() { super(NetworkId.DING, API_BASE); + setRequestUrlEncoding(Charsets.UTF_8); } }