memgraph/tests/integration
Tonko Sabolcec 59bc9d8989 Fix label/edge/property name escaping in DUMP DATABASE
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
2020-05-21 14:46:51 +02:00
..
audit Make memgraph with storage v2 the main binary 2019-12-06 10:51:16 +01:00
auth Make memgraph with storage v2 the main binary 2019-12-06 10:51:16 +01:00
durability Fix label/edge/property name escaping in DUMP DATABASE 2020-05-21 14:46:51 +02:00
ha Rename Bolt flags 2019-12-09 11:24:09 +01:00
ldap Make memgraph with storage v2 the main binary 2019-12-06 10:51:16 +01:00
mg_import_csv Fix label/edge/property name escaping in DUMP DATABASE 2020-05-21 14:46:51 +02:00
ssl Add explicit start to servers 2018-10-16 11:39:42 +02:00
telemetry Make telemetry work with v2 and increase timeout 2019-12-11 16:27:18 +01:00
transactions Polish Bolt client and mg_client 2018-10-19 13:55:51 +02:00
apollo_runs.yaml Implement durability functionality for unique constraints 2020-03-06 14:14:54 +01:00
CMakeLists.txt Implement mg_import_csv 2020-03-03 14:33:43 +01:00