Skip to content

Commit

Permalink
Merge pull request #574 from HXSecurity/develop
Browse files Browse the repository at this point in the history
Release v1.13.1
  • Loading branch information
Nizernizer authored Aug 22, 2023
2 parents f71bc63 + 562452e commit 26710e6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.dongtai.iast.common.constants;

public class AgentConstant {
public static final String VERSION_VALUE = "v1.13.0";
public static final String VERSION_VALUE = "v1.13.1";
public static final String LANGUAGE = "JAVA";
public static final String THREAD_NAME_PREFIX = "DongTai-IAST-";
public static final String THREAD_NAME_PREFIX_CORE = "DongTai-IAST-Core-";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ public static void collectDubboRequestSource(Object handler, Object invocation,
return;
}

String url = (String) requestMeta.get("requestURL") + "/" + methodName;
String uri = (String) requestMeta.get("requestURI") + "/" + methodName;
String url =requestMeta.get("requestURL").toString() + "/" + methodName;
String uri =requestMeta.get("requestURI").toString() + "/" + methodName;

StringBuilder argSign = new StringBuilder("(");
if (argumentTypes != null && argumentTypes.length > 0) {
Expand Down Expand Up @@ -200,7 +200,7 @@ public static void collectDubboResponse(Object result, byte status) {

try {
EngineManager.REQUEST_CONTEXT.get().put("responseStatus",
(String) EngineManager.REQUEST_CONTEXT.get().get("protocol") + " " + status);
EngineManager.REQUEST_CONTEXT.get().get("protocol").toString() + " " + status);
ByteArrayOutputStream buff = EngineManager.BODY_BUFFER.getResponse();
buff.write(result.toString().getBytes());
} catch (Throwable ignore) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public static void trackObject(MethodEvent event, PolicyNode policyNode, Object
hash = System.identityHashCode(obj);
identityHash = hash;
}
if (EngineManager.TAINT_HASH_CODES.contains(hash)) {
if (EngineManager.TAINT_HASH_CODES.contains(hash) && !isMicroservice) {
return;
}
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<properties>
<revision>1.13.0</revision>
<revision>1.13.1</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<shade-prefix>io.dongtai.iast.thirdparty</shade-prefix>

Expand Down

0 comments on commit 26710e6

Please sign in to comment.