This project is read-only.
1
Vote

Bug in FlashHelper, HtmlEncode the message

description

In the FlashHelper class, the script generated by the Flash() function can break easily if the message is not HTML encoded.

This should fix the problem: sb.AppendFormat("$('#flash').html('{0}');", HttpUtility.HtmlEncode(message));

By the way, thanks so much for this kit, it's great.
Pedro

comments