fix #692 replace with url-safe base64
This commit is contained in:
parent
e93d51d73f
commit
68e2e1b783
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue