Skip to content

Commit eb3441c

Browse files
authored
added note about user input
as per #1265
1 parent 1380ad6 commit eb3441c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ client.hmset("key", ["test keys 1", "test val 1", "test keys 2", "test val 2"],
9797
client.hmset("key", "test keys 1", "test val 1", "test keys 2", "test val 2", function (err, res) {});
9898
```
9999

100+
Care should be taken with user input if arrays are possible (via body-parser, query string or other method), as single arguments could be unintentionally interpreted as multiple args.
101+
100102
Note that in either form the `callback` is optional:
101103

102104
```js

0 commit comments

Comments
 (0)