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
版权声明:本文标题:types - How can a string like "Null" be cast to a null value? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736303164a1931789.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论