aboutsummaryrefslogtreecommitdiffstats
path: root/library/HTMLPurifier.safe-includes.php
diff options
context:
space:
mode:
authorVasudev Kamath <kamathvasudev@gmail.com>2012-07-07 16:17:26 +0530
committerVasudev Kamath <kamathvasudev@gmail.com>2012-07-07 16:17:26 +0530
commit1b3d84422e27b5d1f728a4e4fedc8231e6e81453 (patch)
treed442541efa86d3d665b042c36415d3e7944e39cb /library/HTMLPurifier.safe-includes.php
parentba4db236ecff1ffdb56adc2715b3f53515f8cb34 (diff)
downloadvolse-hubzilla-1b3d84422e27b5d1f728a4e4fedc8231e6e81453.tar.gz
volse-hubzilla-1b3d84422e27b5d1f728a4e4fedc8231e6e81453.tar.bz2
volse-hubzilla-1b3d84422e27b5d1f728a4e4fedc8231e6e81453.zip
orient function uses exif_read_data for which valid image types are only JPEG and TIFF as per the document [1].
When trying to upload an screenshot with png type I was getting message as *failed* even though image was uploading. So added a fix to check image type before calling orient function. Not sure if this is a proper fix but after this i'm not getting any error during file upload [1] http://au2.php.net/manual/en/function.exif-read-data.php
Diffstat (limited to 'library/HTMLPurifier.safe-includes.php')
0 files changed, 0 insertions, 0 deletions