mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Merge remote-tracking branch 'origin/webserver_string_lifetime' into integration
This commit is contained in:
		| @@ -62,10 +62,7 @@ static UrlMatch parse_url(const char *url_ptr, size_t url_len, bool only_domain) | ||||
|   // Find domain (everything up to next '/' or end) | ||||
|   const char *domain_end = (const char *) memchr(start, '/', end - start); | ||||
|   if (!domain_end) { | ||||
|     // No more slashes, entire remaining string is domain | ||||
|     match.domain = start; | ||||
|     match.domain_len = end - start; | ||||
|     match.valid = true; | ||||
|     // No second slash found - original behavior returns invalid | ||||
|     return match; | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user