mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	Merge pull request from GHSA-9p43-hj5j-96h5
This commit is contained in:
		| @@ -820,6 +820,7 @@ class EditRequestHandler(BaseHandler): | |||||||
|             None, self._read_file, filename, configuration |             None, self._read_file, filename, configuration | ||||||
|         ) |         ) | ||||||
|         if content is not None: |         if content is not None: | ||||||
|  |             self.set_header("Content-Type", "application/yaml") | ||||||
|             self.write(content) |             self.write(content) | ||||||
|  |  | ||||||
|     def _read_file(self, filename: str, configuration: str) -> bytes | None: |     def _read_file(self, filename: str, configuration: str) -> bytes | None: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user