mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	fix: strip exif data on image uploads
This commit is contained in:
		| @@ -58,6 +58,9 @@ function uploadAsImage(req, uploadedFile, callback) { | ||||
| 			} | ||||
| 			image.checkDimensions(uploadedFile.path, next); | ||||
| 		}, | ||||
| 		function (next) { | ||||
| 			image.stripEXIF(uploadedFile.path, next); | ||||
| 		}, | ||||
| 		function (next) { | ||||
| 			if (plugins.hasListeners('filter:uploadImage')) { | ||||
| 				return plugins.fireHook('filter:uploadImage', { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user