Coming soon - Get a detailed view of why an account is flagged as spam!
view details
15
Reddit weirdly thinks this post is a video despite the submission being a JPG, trips up seemingly all apps so might be worth looking into, though mostly innocent
Post Body

Thought a little bug report wouldn't hurt in case Reddit doesn't know since this had me pretty confused tonight, haha.

Basically (thanks to heads up from superimposedpanda) I found out this post from r/CalvinAndHobbes is identified by Reddit as a video (in that it has suggested MP4 URLs).

"mp4": {
    "resolutions": [
    {
        "height": 103,
        "url": "https://external-preview.redd.it/mp4/Rw6KEwgJ1zKhxNMiVNlio2g123P2rJWhcSHDSI9Dj7k-240.mp4?s=70e1348268f765ff40b61304f57fa079cfde7882",
        "width": 320
    },
    {
        "height": 277,
        "url": "https://external-preview.redd.it/mp4/Rw6KEwgJ1zKhxNMiVNlio2g123P2rJWhcSHDSI9Dj7k-480.mp4?s=4d9ec784889bed8f4ac2f896b37cec9da9b95cf2",
        "width": 854
    }
    ],
    "source": {
    "height": 292,
    "url": "https://external-preview.redd.it/mp4/Rw6KEwgJ1zKhxNMiVNlio2g123P2rJWhcSHDSI9Dj7k-source.mp4?s=96809752a6e59c1830d23187ead30ce32195ecd0",
    "width": 900
    }
}

(The MP4s don't go anywhere.)

(Full JSON: https://www.reddit.com/r/calvinandhobbes/comments/a794m3/calvin_hobbes_for_december_18_2018/.json?raw_json=1)

Obviously no parser is perfect, but since this seemingly tripped up the official Reddit app, Reddit Enhancement Suite, and my app Apollo (all 3 think it's a video), and it's a JPG that can't be animated, thought it might be worth bringing to someone's attention.

Might be worth something as simple as if pathExtension == "jpg" { // labelDefinitelyNotGIF } which is somewhat similar to what I just added locally, haha.

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,715,057
Link Karma
529,042
Comment Karma
607,499
Profile updated: 4 days ago
Posts updated: 3 months ago
iOS Developer (Apollo)

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago