fix #692 replace with url-safe base64

This commit is contained in:
Shinsuke Sugaya 2016-09-19 14:31:48 +09:00
parent e93d51d73f
commit 68e2e1b783

View file

@ -223,7 +223,7 @@ public class FessFunctions {
if (value == null) {
return StringUtil.EMPTY;
}
return Base64.getEncoder().encodeToString(value.getBytes(Constants.CHARSET_UTF_8));
return Base64.getUrlEncoder().encodeToString(value.getBytes(Constants.CHARSET_UTF_8));
}
public static boolean fileExists(final String path) {