Summary: This diff fixes the issue for label name (and edge type/property) with spaces and special characters to avoid possible OpenCypher injections. Consider an example where label name is 'hello :world'. `DUMP DATABASE` used to return query which creates a node (u:hello :world) - i.e. node that contains two labels 'hello' and 'world'. This fix escapes names to create the following node with exactly one label as expected: ``` (u:`hello :world`) ``` Reviewers: mferencevic Reviewed By: mferencevic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D2774 |
||
---|---|---|
.. | ||
benchmark | ||
concurrent | ||
drivers | ||
feature_benchmark | ||
integration | ||
macro_benchmark | ||
manual | ||
property_based | ||
public_benchmark | ||
qa | ||
stress | ||
unit | ||
.clang-tidy | ||
apollo_runs.py | ||
apollo_runs.yaml | ||
client-stress.sh | ||
CMakeLists.txt |