Fix error in helpers/reports.php when uploading to CDN #1099
Fix double encoding in main reports block