My web app checks the first four bytes against the file extension before accepting uploaded images. A coworker showed me images from his iPhone which are being rejected. These have a different fourth byte (e1 = 225 instead of the expected e0 = 224).
Is this usual for iPhones? Are there other possible magic byte strings used in JPG files?
Edit: found this useful list: http://www.garykessler.net/library/file%5Fsigs.html