News for hackers. Stuff that matters.
Re:Is Haskell a Good Choice for Web Applications? (2009) by losvedir on Friday December 02, 2011 @07:49AM (#3303794)
Well, one feature that Yesod has really been focused on are type-safe URLs[1]. I imagine this would provide some level of security benefit as the framework knows "Ah, in this GET request we should have a Date, an Integer, a UserID, etc".

The implementation may still have bugs, I suppose, but you can be sure that it's at least being heavily thought about.

I imagine forms may work the same way, though I'm not sure about that.

[1] http://www.yesodweb.com/home/snoyberg/blogs/2011/08/shakespe...

Re:Is Haskell a Good Choice for Web Applications? (2009) by joeyh on Friday December 02, 2011 @11:22AM (#3304445)
Yesod also has automatic html-escaping of strings, enforced at the type level. You have to explicitly tell it when a value is raw html, to avoid XSS. It also has automatic XSRF prevention.