aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-06-13 17:11:42 -0700
committerScott Jackson <daneren2005@gmail.com>2016-06-13 17:11:42 -0700
commit9655f0cfdef513793c11560632b0652679412d6a (patch)
treeb6e3773baed0bb475572bed28daba985a9a93056
parentdf89bc368b41ec105bb9b57965cd1b094a042ef8 (diff)
downloaddsub-9655f0cfdef513793c11560632b0652679412d6a.tar.gz
dsub-9655f0cfdef513793c11560632b0652679412d6a.tar.bz2
dsub-9655f0cfdef513793c11560632b0652679412d6a.zip
Fixes #711: Don't encode ' at all
-rw-r--r--app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java b/app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java
index 5fc4ac83..edc52c22 100644
--- a/app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java
+++ b/app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java
@@ -1942,7 +1942,7 @@ public class RESTMusicService implements MusicService {
for (int i = 0; i < parameterNames.size(); i++) {
builder.append("&").append(parameterNames.get(i)).append("=");
String part = URLEncoder.encode(String.valueOf(parameterValues.get(i)), "UTF-8");
- part = part.replaceAll("\\%27", "&#39;");
+ part = part.replaceAll("\\%27", "'");
builder.append(part);
}
url = builder.toString();