X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FWebLibraryServer.java;h=1fce3911eb67f5b47cb95198a9a8c542da9ebf2d;hb=acb25f06442027b36474ece917a2037366efd4a7;hp=56d78ed4de20b5a52583af21105043a07cc8e89f;hpb=54e2bea8f5fa5607a6b8932bd10c60399f7f2d4e;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/library/WebLibraryServer.java b/src/be/nikiroo/fanfix/library/WebLibraryServer.java index 56d78ed..1fce391 100644 --- a/src/be/nikiroo/fanfix/library/WebLibraryServer.java +++ b/src/be/nikiroo/fanfix/library/WebLibraryServer.java @@ -4,6 +4,7 @@ import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; +import java.net.URLDecoder; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; @@ -395,7 +396,7 @@ public class WebLibraryServer extends WebLibraryServerHtml { } String type = uriParts[off + 0]; - String id = uriParts[off + 1]; + String id = URLDecoder.decode(uriParts[off + 1], "UTF-8"); InputStream in = null; @@ -446,7 +447,7 @@ public class WebLibraryServer extends WebLibraryServerHtml { } String type = uriParts[off + 0]; - String id = uriParts[off + 1]; + String id = URLDecoder.decode(uriParts[off + 1], "UTF-8"); if ("source".equals(type)) { sourceCover(id, login, luid);