File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
dslink-v2-api/src/main/java/org/iot/dsa Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ subprojects {
5
5
apply plugin : ' maven'
6
6
7
7
group ' org.iot-dsa'
8
- version ' 0.67.0 '
8
+ version ' 0.67.1 '
9
9
10
10
targetCompatibility = JavaVersion . VERSION_1_8
11
11
sourceCompatibility = JavaVersion . VERSION_1_8
Original file line number Diff line number Diff line change @@ -28,11 +28,15 @@ public interface DSIRequester {
28
28
public OutboundInvokeHandler invoke (String path , DSMap params , OutboundInvokeHandler handler );
29
29
30
30
/**
31
- * Submits a list request.
31
+ * Submits a list request. Child names do not need to be encoded unless they contain
32
+ * a forward slash. If encoding names, be sure to decode in all responder methods here,
33
+ * including this one, see DSPath.
32
34
*
33
35
* @param handler Callback mechanism.
34
36
* @return The handler parameter.
35
37
* @see AbstractListHandler
38
+ * @see org.iot.dsa.node.DSPath#encodeName(String)
39
+ * @see org.iot.dsa.node.DSPath#decodeName(String)
36
40
*/
37
41
public OutboundListHandler list (String path , OutboundListHandler handler );
38
42
Original file line number Diff line number Diff line change @@ -482,6 +482,14 @@ private static boolean shouldEncode(int ch) {
482
482
private static boolean shouldEncodeV1 (int ch ) {
483
483
switch (ch ) {
484
484
case '/' :
485
+ case '\\' :
486
+ case '?' :
487
+ case '*' :
488
+ case ':' :
489
+ case '|' :
490
+ case '"' :
491
+ case '<' :
492
+ case '>' :
485
493
case '%' :
486
494
return true ;
487
495
default :
You can’t perform that action at this time.
0 commit comments