the tokenized path variables are chopped by 1 char on both ends. /hello/{test} will make tokens: "ell" and "test".
this is why 1-char paths fail to even function, like: /b/a/{test}.
Fix:
if (key.startsWith("{") && key.endsWith("}"))
key = key.substring(1, key.length() - 1);
https://github.com/yanzhenjie/AndServer/blob/23a7c15512f5a70a9ce517710a5d04c06a4d57c9/api/src/main/java/com/yanzhenjie/andserver/framework/handler/MappingHandler.java#L146
the tokenized path variables are chopped by 1 char on both ends. /hello/{test} will make tokens: "ell" and "test". this is why 1-char paths fail to even function, like: /b/a/{test}.
Fix: