mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	fixes
This commit is contained in:
		| @@ -1851,7 +1851,7 @@ bool WebServer::canHandle(AsyncWebServerRequest *request) const { | ||||
|   } | ||||
| #endif | ||||
|  | ||||
|   UrlMatch match = match_url(request->url(), true);  // NOLINT | ||||
|   UrlMatch match = match_url(request->url().c_str(), true);  // NOLINT | ||||
|   if (!match.valid) | ||||
|     return false; | ||||
| #ifdef USE_SENSOR | ||||
| @@ -1990,7 +1990,7 @@ void WebServer::handleRequest(AsyncWebServerRequest *request) { | ||||
|   } | ||||
| #endif | ||||
|  | ||||
|   UrlMatch match = match_url(request->url());  // NOLINT | ||||
|   UrlMatch match = match_url(request->url().c_str());  // NOLINT | ||||
| #ifdef USE_SENSOR | ||||
|   if (match.domain_equals("sensor")) { | ||||
|     this->handle_sensor_request(request, match); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user