News for hackers. Stuff that matters.
Re:Making Wrong Code Look Wrong by prodigal_erik on Monday August 22, 2011 @10:26AM (#2912543)
I wouldn't want SafeString is-a String, I would want a conversion from SafeString to String that removes whatever encoding or escaping was applied. Otherwise you end up re-encoding values that unbeknownst to you don't need it, which is why there are thousands of terrible PHP bulletin boards out there which won't let you use quotes without mangling them.

There are no comments on this comment yet.