diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-06-13 17:11:42 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-06-13 17:11:42 -0700 |
commit | 9655f0cfdef513793c11560632b0652679412d6a (patch) | |
tree | b6e3773baed0bb475572bed28daba985a9a93056 /app/src/main/java/github | |
parent | df89bc368b41ec105bb9b57965cd1b094a042ef8 (diff) | |
download | dsub-9655f0cfdef513793c11560632b0652679412d6a.tar.gz dsub-9655f0cfdef513793c11560632b0652679412d6a.tar.bz2 dsub-9655f0cfdef513793c11560632b0652679412d6a.zip |
Fixes #711: Don't encode ' at all
Diffstat (limited to 'app/src/main/java/github')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/service/RESTMusicService.java | 2 |
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", "'"); + part = part.replaceAll("\\%27", "'"); builder.append(part); } url = builder.toString(); |