We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4348f commit 60c2923Copy full SHA for 60c2923
src/test/java/com/arangodb/ArangoCollectionTest.java
@@ -1720,4 +1720,13 @@ public void keyWithSpecialCharacter() {
1720
assertThat(doc.getKey(), is(key));
1721
}
1722
1723
+ @Test
1724
+ public void alreadyUrlEncodedkey() {
1725
+ final String key = "http%3A%2F%2Fexample.com%2F";
1726
+ db.collection(COLLECTION_NAME).insertDocument(new BaseDocument(key));
1727
+ final BaseDocument doc = db.collection(COLLECTION_NAME).getDocument(key, BaseDocument.class);
1728
+ assertThat(doc, is(notNullValue()));
1729
+ assertThat(doc.getKey(), is(key));
1730
+ }
1731
+
1732
0 commit comments