|
@@ -53,6 +53,15 @@ public class IdentClientTest extends junit.framework.TestCase {
|
53
|
53
|
|
54
|
54
|
assertStartsWith("Special chars in illegal requests must be quoted",
|
55
|
55
|
response, "in\\\\valid\\:invalid");
|
|
56
|
+ }
|
|
57
|
+
|
|
58
|
+ @Test
|
|
59
|
+ public void testQuoting2() {
|
|
60
|
+ final String response = IdentClient.getIdentResponse("in\\\\valid\\ inv\\:alid",
|
|
61
|
+ IdentityManager.getGlobalConfig());
|
|
62
|
+
|
|
63
|
+ assertStartsWith("Escaped characters in illegal requests shouldn't be doubly-escaped",
|
|
64
|
+ response, "in\\\\valid\\ inv\\:alid");
|
56
|
65
|
}
|
57
|
66
|
|
58
|
67
|
@Test
|