mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	Merge commit from fork
* Sanitize markdown when rendering notes fields * Revert "Sanitize markdown when rendering notes fields" This reverts commit 373ebfbef0ce25fa58cb4e635e99f35b5e4df07c. * Mask error message when downloading image
This commit is contained in:
		| @@ -907,8 +907,8 @@ class RemoteImageMixin(metaclass=serializers.SerializerMetaclass): | ||||
|  | ||||
|         try: | ||||
|             self.remote_image_file = download_image_from_url(url) | ||||
|         except Exception as exc: | ||||
|         except Exception: | ||||
|             self.remote_image_file = None | ||||
|             raise ValidationError(str(exc)) | ||||
|             raise ValidationError(_('Failed to download image from remote URL')) | ||||
|  | ||||
|         return url | ||||
|   | ||||
		Reference in New Issue
	
	Block a user