Yuan Tian created IOTDB-6164:
--------------------------------
Summary: Can create illegal path through rest api
Key: IOTDB-6164
URL: https://issues.apache.org/jira/browse/IOTDB-6164
Project: Apache IoTDB
Issue Type: Bug
Reporter: Yuan Tian
Assignee: Yuan Tian
We can use the following command to replay this bug:
{code:java}
curl -H "Content-Type:application/json"/jso"Authorization:Basic
cm9vdDpyb290"yb290" -X POST
-'{"timestamps":[1635232143960,1635232153960],"measurements":["s3","===OPC接口机工作组0==TEST4"],"data_types":["INT32","BOOLEAN"],"values":[[11,null],[false,true]],"is_aligned":false,"device":"root.sg27"}'
http://127.0.0.1:18080/rest/v2/insertTablet {code}
===OPC接口机工作组0==TEST4 is not a legal path, we should use `` to include it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)