admin管理员组

文章数量:1122832

I'm baffled by this bug in the FAFSA website (reported by the WSJ):

In October, officials resolved an issue that was preventing applicants from inviting contributors with the last name of “Null” (computer speak for zero), which blocked submission.

This sounds like a 1980s joke. I can't even how to imagine how to produce that effect, even in the weakly typed languages I know. Can anyone explain a 21st century programming practice that could produce this behavior?

The most plausible scenario I can imagine would be inserting a string directly into a SQL query string, without quotes. But surely that would also cause errors for people whose last names have spaces.

(Bonus points as well if someone knows what languages the FAFSA site uses, though I couldn't find that online.)

本文标签: typesHow can a string like quotNullquot be cast to a null valueStack Overflow