Commit 56cd0ef0 authored by Medicean's avatar Medicean

(Fix:Script) 修复 jsp_custom 未捕获异常

parent 5cdcfcc7
......@@ -383,7 +383,7 @@ ChangeLog:
return fileHexContext;
}
String asenc(String str, String decode){
String asenc(String str, String decode) throws Exception{
if(decode.equals("hex") || decode=="hex"){
String ret = "";
for (int i = 0; i < str.length(); i++) {
......@@ -552,7 +552,11 @@ ChangeLog:
} catch (Exception e) {
sb.append("ERROR" + ":// " + e.toString());
}
try {
output.append(asenc(sb.toString(), decoder));
}catch (Exception e) {
sb.append("ERROR" + ":// " + e.toString());
}
output.append(decode(RetE, "base64"));
out.print(output.toString());
%>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment