﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11679	FormWizard: security_hash() has issues with Safari leaving in \r\n	al@…	nobody	"In v1.0.3: The latest Safari is passing in \r\n within the text fields. These are blowing up the security_hash() call when on Step 2 of a multiple step FormWizard.

Try the test:


{{{
f1 = TestForm({'name': 'joe', 'bio': 'Nothing\r\nnotable.'})
}}}

Similar to fix r10752; changing django/contrib/formtools/utils.py as follows works around the issue:


{{{
25:  if isinstance(value, basestring):
26:    value = value.strip()
27+    value = value.replace('\r', ' ')
28+    value = value.replace('\n', ' ')
}}}

"	Bug	closed	contrib.formtools	1.0	Normal	invalid	FormWizard		Accepted	0	0	0	0	0	0
