-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
4.8.0 M3
Currently org.ametys.plugins.core.ui.user.ProfileImageResolverHelper.resolveAsBase64(String, String, int, String) try to resolve a URI to transform the inputstream to Base64.
This is not good for performance reasons, but also because it can lead to authenticated urls.
This is the case of CMS-11718 issue which requires us to force the request attribute
REQUEST_ATTRIBUTE_INTERNAL_ALLOWED to be able to be call from the sheduled task.
To avoid this, add a getProfileImage méthod to ProfileImageResolverHelper class which returns a InputStream and resolveAsBase64 should call this method instead of resolving the profile image uri
- Référence
-
CMS-11718 Resolution of user avatar in Base64 failed when sending mail via a scheduled task
-
- Closed
-