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