$OpenBSD: patch-framework_forms_FormField_php,v 1.1 2013/10/01 18:58:21 jasper Exp $

commit a338e608b8798d1d00d63114d0981bb8c9989160
Author: Ingo Schommer <ingo@silverstripe.com>
Date:   Tue Sep 24 13:58:32 2013 +0200
Subject: API Escape form validation messages (SS-2013-008)

--- framework/forms/FormField.php.orig	Wed Feb 20 02:02:44 2013
+++ framework/forms/FormField.php	Tue Oct  1 20:52:26 2013
@@ -93,6 +93,10 @@ class FormField extends RequestHandler {
 	 */
 	protected $attributes = array();
 
+	private static $casting = array(
+		'Message' => 'Text'
+	);
+
 	/**
 	 * Takes a fieldname and converts camelcase to spaced
 	 * words. Also resolves combined fieldnames with dot syntax
