jadell / neo4jphp

PHP wrapper of the Neo4j REST interface
Other
532 stars 137 forks source link

No error raised on saving invalid json values #149

Open bazo opened 10 years ago

bazo commented 10 years ago

i tried saving aes256 encrypted password in neo4j which failed as described here https://github.com/neo4j/neo4j/issues/2582

but neo4j didn't raise any error and the saved node was empty

ikwattro commented 10 years ago

Tested on local env, node is saved with aes256 pwd :+1: Inline-style: node saved with AES256 password

code used

$aes = $client->makeNode();
$aes->setProperty('password', '1P\x07\x9f\x1c@<x\x9fz\x91\x1c\x9esM\r\x08\xa1X\x1e\xf7\xcay\xea\xa0\xa0\x87v#,\xd5\x8c"\xc4\xf4\xd8\xd1Y\x03SZ\r^&\x989n\xa3\xdb\x9a\xcd\xd7\xb8\x9c\xac}\x87\x910\x8b*B\x87\x05')
    ->save();