Created attachment 6237[details]
Photo-0010.jpg
I'm unable to upload this image for a user. I got the following message:
The following properties could not be validated:
Picture of the user (JPEG format): Value must be Base64 encoded jpeg

hm, why don't just uncomment the line instead of removing it so that it can be reimplemented when the problem is fixed upstream? (The upstream bug is not set to resolved nor verified yet, so maybe the fix contains errors again).
Also the 'assert' statement shouldn't be used for such things, some precompiling of bytecode removes assertions.