diff options
author | 2019-03-15 17:17:10 +0300 | |
---|---|---|
committer | 2019-03-15 17:17:10 +0300 | |
commit | a49105285d0d7719d7f222a507af2d5ac5b4bdb1 (patch) | |
tree | 2c3667f50f377129bf254128b2282b5619d257b0 /src/main/java/com/juick/server/www/controllers/MessagesWWW.java | |
parent | 7a9630b9e753a4aec2806e229554370e2d59f820 (diff) |
Correctly set webfinger content-type
Diffstat (limited to 'src/main/java/com/juick/server/www/controllers/MessagesWWW.java')
-rw-r--r-- | src/main/java/com/juick/server/www/controllers/MessagesWWW.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/www/controllers/MessagesWWW.java b/src/main/java/com/juick/server/www/controllers/MessagesWWW.java index 6de8d51d..4410f591 100644 --- a/src/main/java/com/juick/server/www/controllers/MessagesWWW.java +++ b/src/main/java/com/juick/server/www/controllers/MessagesWWW.java @@ -99,7 +99,7 @@ public class MessagesWWW { @CookieValue(name = "sape_cookie", required = false, defaultValue = StringUtils.EMPTY) String sapeCookie, ModelMap model) throws IOException { if (tag != null) { - return "redirect:/tag/" + URLEncoder.encode(tag, CharEncoding.UTF_8); + return "redirect:/tag/" + URLEncoder.encode(tag, StandardCharsets.UTF_8); } com.juick.User visitor = UserUtils.getCurrentUser(); |