Yes, I agree. That's why we've tried to assist Rails Core in reviewing a more comprehensive string tainting model. I've said for some time now that security needs to be institutionalized in frameworks in order for developers to be unable to make stupid mistakes like this one.
Call it "blatant incompetence" if you like, but I'm guessing you've written a buggy validation or regex once or twice in your life.