Skip to content

Commit 85a5bd3

Browse files
committed
fix shiro exp #54
1 parent bbf297b commit 85a5bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/ysomap/bullets/objects/ClassWithExistEviClass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public Object doAction(String action, String exception, Object data) throws IOEx
101101
}else if("read".equals(action) && data instanceof String){
102102
return FileHelper.fileGetContent((String) data);
103103
}else if("base64".equals(action) && data instanceof byte[]){
104-
return Strings.encodeToString((byte[]) data);
104+
return Strings.encodeToBase64String((byte[]) data);
105105
}else if("gzip".equals(action) && data instanceof byte[]){
106106
ByteArrayOutputStream outBuf = new ByteArrayOutputStream();
107107
GZIPOutputStream gzipOutputStream = new GZIPOutputStream(outBuf);

0 commit comments

Comments
 (0)