Something went wrong while setting issue due date.
FileAttribute through webservice should base64 encode binary data to avoid crashes
Closed
FileAttribute through webservice should base64 encode binary data to avoid crashes
Description
When certain images are set as profile picture, the API no longer returns any data (At all).
Distribution Name and Version
Whatever demo.fusiondirectory.org runs on and Debian 8.
FusionDirectory Version
1.2
PHP version used
Whatever demo.fusiondirectory.org uses.
Origin of php packages
Whatever demo.fusiondirectory.org uses.
Steps to Reproduce
- Set image fd_non_working_image.jpg (Supplied) as account image for a user.
- Get data for user using the method getfields() in the API.
- Observe nothing beeing returned by the API.
Expected behavior:
User's data should be returned.
Actual behavior:
No data is returned.
Reproduces how often:
100%
Additional Information
Bug observed on both own installation of FD1.2 and demo.fusiondirectory.org.
Behavior is dependent on the image. Only some (like the attached) jpeg files reveal the bug.