What Your Users Don’t Know (Part 1)

(This is part 1 of a series on web security; see part 2.) What’s wrong with this code? [gist]3105417[/gist] Any jokester who says “it looks fine to me” will be sent to the spice mines of Kessel. But I think for observant readers, a couple of critical...