You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
AndServer/api/src/main/java/com/yanzhenjie/andserver/framework/handler/MappingHandler.java
Line 146 in 23a7c15
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:
The text was updated successfully, but these errors were encountered: