News for hackers. Stuff that matters.
Re:Students are failing AP tests because the College Board c... by zhengyi13 on Thursday May 21, 2020 @01:24PM (#23261524)
"Be strict in what you send; be liberal in what you accept" seems a relevant maxim here, but I wonder if it's reasonable to assume given the utter ubiquity of PNG and JPEG that of course that's what other people would be using?
Re:Students are failing AP tests because the College Board c... by adrianmonk on Thursday May 21, 2020 @03:20PM (#23263627)
If you're going to make an assumption, that one is definitely understandable.

However, taking a step back, you should have enough representative test cases (QA snaps a photo with iPhones, tries to upload) that whether assumptions are reasonable doesn't enter into it because you aren't making them.

Re:Students are failing AP tests because the College Board c... by oefrha on Thursday May 21, 2020 @01:35PM (#23261710)
Sure, and turns out you don't even need the accept attribute (see edit). They're doing something funny.