diff --git a/config/src/main/java/com/alibaba/nacos/config/server/paramcheck/ConfigListenerHttpParamExtractor.java b/config/src/main/java/com/alibaba/nacos/config/server/paramcheck/ConfigListenerHttpParamExtractor.java index 78f86ac9d80..0c0a2eff885 100644 --- a/config/src/main/java/com/alibaba/nacos/config/server/paramcheck/ConfigListenerHttpParamExtractor.java +++ b/config/src/main/java/com/alibaba/nacos/config/server/paramcheck/ConfigListenerHttpParamExtractor.java @@ -59,7 +59,7 @@ public List extractParam(HttpServletRequest request) throws NacosRunt for (String line : lines) { ParamInfo paramInfo = new ParamInfo(); String[] words = line.split(Character.toString(WORD_SEPARATOR_CHAR)); - if (words.length < 3 || words.length > 4) { + if (words.length < 2 || words.length > 4) { throw new IllegalArgumentException("invalid probeModify"); } paramInfo.setDataId(words[0]);