diff --git a/plugins/restful/adapter_handle.c b/plugins/restful/adapter_handle.c index cc6d3b9b..55edbc32 100644 --- a/plugins/restful/adapter_handle.c +++ b/plugins/restful/adapter_handle.c @@ -64,10 +64,10 @@ static bool tags_check_symbol(const char *tags) { for (size_t i = 0; i < strlen(tags); i++) { char c = tags[i]; - if (c == '^' || c == '=' || c == '[' || c == ']' || c == '{' || - c == '}' || c == ';' || c == ':' || c == '\'' || c == '"' || - c == '<' || c == '>' || c == '?' || c == '\\' || c == '|' || - c == '~' || c == '`' || c == '\t' || c == '\n') { + if (c == '[' || c == ']' || c == '{' || c == '}' || c == ';' || + c == ':' || c == '\'' || c == '"' || c == '<' || c == '>' || + c == '?' || c == '\\' || c == '|' || c == '`' || c == '\t' || + c == '\n') { return false; } } @@ -746,4 +746,4 @@ void handle_put_node_tag(nng_aio *aio) } } }) -} \ No newline at end of file +}