neo4j-contrib / java-rest-binding

Java Bindings for the Neo4J Server REST API, providing an implementation of GraphDatabaseService
Other
120 stars 72 forks source link

Property URLs not sanity checked #67

Closed gsummer closed 10 years ago

gsummer commented 10 years ago

If I want to add a property named "Hello World" to a node I get an exception: Caused by: java.net.URISyntaxException: Illegal character in path at index 55: http://localhost:7474/db/data/node/3/properties/Hello World

Which makes sense since the white space is invalid. The issue is that the embedded interface does allow for such property names.

jexp commented 10 years ago

Good point, misses URL-Component encoding for those.