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 241aca3 commit f6fff3fCopy full SHA for f6fff3f
src/WebHandlerImpl.h
@@ -105,6 +105,13 @@ class AsyncCallbackWebHandler: public AsyncWebHandler {
105
}
106
} else
107
#endif
108
+ if (_uri.length() && _uri.startsWith("/*.")) {
109
+ String uriTemplate = String (_uri);
110
+ uriTemplate = uriTemplate.substring(uriTemplate.lastIndexOf("."));
111
+ if (!request->url().endsWith(uriTemplate))
112
+ return false;
113
+ }
114
+ else
115
if (_uri.length() && _uri.endsWith("*")) {
116
String uriTemplate = String(_uri);
117
uriTemplate = uriTemplate.substring(0, uriTemplate.length() - 1);
0 commit comments